1
Fork 0

Remove comment about semicolons for inner attributes from docs and adjust comments.

This commit is contained in:
Kevin Butler 2014-05-03 21:24:06 +01:00
parent 0c691df8ac
commit 74392246ff
2 changed files with 8 additions and 7 deletions

View file

@ -108,7 +108,8 @@ impl<'a> ParserAttr for Parser<'a> {
};
}
// Parse attributes that appear after the opening of an item, each
// Parse attributes that appear after the opening of an item. These should
// be preceded by an exclaimation mark, but we accept and warn about one
// terminated by a semicolon. In addition to a vector of inner attributes,
// this function also returns a vector that may contain the first outer
// attribute of the next item (since we can't know whether the attribute