diff options
| author | bors <bors@rust-lang.org> | 2014-06-10 15:17:01 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-06-10 15:17:01 -0700 |
| commit | b1302f9c4f6619bf83fff39b305b990d8f628eb7 (patch) | |
| tree | 00429f512aed143f46f4b0ea8a23c2028db2c123 /src/libsyntax/parse | |
| parent | 7f777a5ba49785a74e5365e9897ddf4c02ea8519 (diff) | |
| parent | c2c99463720e758d5aa0bdcea19dc5b3dd67292c (diff) | |
| download | rust-b1302f9c4f6619bf83fff39b305b990d8f628eb7.tar.gz rust-b1302f9c4f6619bf83fff39b305b990d8f628eb7.zip | |
auto merge of #14764 : jbcrail/rust/fix-more-comments, r=alexcrichton
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/attr.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/attr.rs b/src/libsyntax/parse/attr.rs index 9dcc0877fa4..52e3693c31f 100644 --- a/src/libsyntax/parse/attr.rs +++ b/src/libsyntax/parse/attr.rs @@ -112,7 +112,7 @@ impl<'a> ParserAttr for Parser<'a> { } // 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 + // be preceded by an exclamation 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 diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 360b8daa948..de5f533a96e 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -2582,7 +2582,7 @@ impl<'a> Parser<'a> { self.mk_expr(lo, hi, ExprLoop(body, opt_ident)) } - // For distingishing between struct literals and blocks + // For distinguishing between struct literals and blocks fn looking_at_struct_literal(&mut self) -> bool { self.token == token::LBRACE && ((self.look_ahead(1, |t| token::is_plain_ident(t)) && |
