From f4eb44e4df5abaf2124d48f45cc4c8b1429d6bfa Mon Sep 17 00:00:00 2001 From: est31 Date: Tue, 29 Dec 2015 13:59:19 +0100 Subject: whitespace after colon, not before --- src/libsyntax/parse/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/parse') 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, }; -- cgit 1.4.1-3-g733a5