From 74392246ff1dc6f0d9b5601eda661c7f02f18ba1 Mon Sep 17 00:00:00 2001 From: Kevin Butler Date: Sat, 3 May 2014 21:24:06 +0100 Subject: Remove comment about semicolons for inner attributes from docs and adjust comments. --- src/libsyntax/parse/attr.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libsyntax/parse') 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 -- cgit 1.4.1-3-g733a5