whitespace after colon, not before
This commit is contained in:
parent
66a12f504f
commit
f4eb44e4df
@ -4612,7 +4612,7 @@ pub fn parse_impl_item(&mut self) -> PResult<'a, P<ImplItem>> {
|
||||
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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user