Skip to content

Commit e03447d

Browse files
committed
Fixed tidy errors
1 parent f61394f commit e03447d

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
@@ -4987,7 +4987,8 @@ impl<'a> Parser<'a> {
49874987

49884988
/// Parse a method or a macro invocation in a trait impl.
49894989
fn parse_impl_method(&mut self, vis: &Visibility, at_end: &mut bool)
4990-
-> PResult<'a, (Ident, Vec<ast::Attribute>, ast::Generics, ast::ImplItemKind)> {
4990+
-> PResult<'a, (Ident, Vec<ast::Attribute>, ast::Generics,
4991+
ast::ImplItemKind)> {
49914992
// code copied from parse_macro_use_or_failure... abstraction!
49924993
if self.token.is_path_start() {
49934994
// Method macro.
@@ -5014,7 +5015,8 @@ impl<'a> Parser<'a> {
50145015
}
50155016

50165017
let mac = respan(lo.to(self.prev_span), Mac_ { path: pth, tts: tts });
5017-
Ok((keywords::Invalid.ident(), vec![], ast::Generics::default(), ast::ImplItemKind::Macro(mac)))
5018+
Ok((keywords::Invalid.ident(), vec![], ast::Generics::default(),
5019+
ast::ImplItemKind::Macro(mac)))
50185020
} else {
50195021
let (constness, unsafety, abi) = self.parse_fn_front_matter()?;
50205022
let ident = self.parse_ident()?;

0 commit comments

Comments
 (0)