Skip to content

Commit a9924c6

Browse files
committed
Fixed tidy errors
1 parent 26395e4 commit a9924c6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/libsyntax/parse/parser.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4920,7 +4920,8 @@ impl<'a> Parser<'a> {
49204920

49214921
/// Parse a method or a macro invocation in a trait impl.
49224922
fn parse_impl_method(&mut self, vis: &Visibility, at_end: &mut bool)
4923-
-> PResult<'a, (Ident, Vec<ast::Attribute>, ast::Generics, ast::ImplItemKind)> {
4923+
-> PResult<'a, (Ident, Vec<ast::Attribute>, ast::Generics,
4924+
ast::ImplItemKind)> {
49244925
// code copied from parse_macro_use_or_failure... abstraction!
49254926
if self.token.is_path_start() {
49264927
// Method macro.
@@ -4947,7 +4948,8 @@ impl<'a> Parser<'a> {
49474948
}
49484949

49494950
let mac = respan(lo.to(self.prev_span), Mac_ { path: pth, tts: tts });
4950-
Ok((keywords::Invalid.ident(), vec![], ast::Generics::default(), ast::ImplItemKind::Macro(mac)))
4951+
Ok((keywords::Invalid.ident(), vec![], ast::Generics::default(),
4952+
ast::ImplItemKind::Macro(mac)))
49514953
} else {
49524954
let (constness, unsafety, abi) = self.parse_fn_front_matter()?;
49534955
let ident = self.parse_ident()?;

0 commit comments

Comments
 (0)