diff options
| author | est31 <MTest31@outlook.com> | 2015-12-29 13:59:19 +0100 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2015-12-30 16:23:49 +0100 |
| commit | f4eb44e4df5abaf2124d48f45cc4c8b1429d6bfa (patch) | |
| tree | 10884d66520ac31e73bc1897a11c85b801ee3a27 /src/libsyntax/parse | |
| parent | 66a12f504f149bfa487f2353df003482802a18b4 (diff) | |
| download | rust-f4eb44e4df5abaf2124d48f45cc4c8b1429d6bfa.tar.gz rust-f4eb44e4df5abaf2124d48f45cc4c8b1429d6bfa.zip | |
whitespace after colon, not before
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index d5947ba7ad9..32a54d6e357 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -4612,7 +4612,7 @@ impl<'a> Parser<'a> { fn complain_if_pub_macro(&mut self, visa: Visibility, span: Span) { match visa { Public => { - let is_macro_rules :bool = match self.token { + let is_macro_rules: bool = match self.token { token::Ident(sid, _) => sid.name == intern("macro_rules"), _ => false, }; |
