diff options
| author | Kevin Butler <haqkrs@gmail.com> | 2014-05-03 21:24:06 +0100 |
|---|---|---|
| committer | Kevin Butler <haqkrs@gmail.com> | 2014-05-03 21:24:06 +0100 |
| commit | 74392246ff1dc6f0d9b5601eda661c7f02f18ba1 (patch) | |
| tree | d728b8a59833200579ec67d932d442eac27d909c /src/libsyntax/parse/attr.rs | |
| parent | 0c691df8acaf10aa3721476e5d7fafcee11b0aaa (diff) | |
| download | rust-74392246ff1dc6f0d9b5601eda661c7f02f18ba1.tar.gz rust-74392246ff1dc6f0d9b5601eda661c7f02f18ba1.zip | |
Remove comment about semicolons for inner attributes from docs and adjust comments.
Diffstat (limited to 'src/libsyntax/parse/attr.rs')
| -rw-r--r-- | src/libsyntax/parse/attr.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/parse/attr.rs b/src/libsyntax/parse/attr.rs index ddb6ddb64b4..80ee459a62d 100644 --- a/src/libsyntax/parse/attr.rs +++ b/src/libsyntax/parse/attr.rs @@ -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 |
