Skip to content

Commit aa9899b

Browse files
committed
fmt
1 parent fa98e52 commit aa9899b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/tools/rustfmt/src/modules.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -319,9 +319,8 @@ impl<'ast, 'psess, 'c> ModResolver<'ast, 'psess> {
319319
(Some(Cow::Borrowed(ast::ModKind::Loaded(items, _, _, _))), _) => {
320320
self.visit_mod_from_ast(items)
321321
}
322-
(Some(Cow::Owned(ast::ModKind::Loaded(items, _, _, _))), _) | (_, Cow::Owned(items)) => {
323-
self.visit_mod_outside_ast(items)
324-
}
322+
(Some(Cow::Owned(ast::ModKind::Loaded(items, _, _, _))), _)
323+
| (_, Cow::Owned(items)) => self.visit_mod_outside_ast(items),
325324
(_, _) => Ok(()),
326325
}
327326
}

0 commit comments

Comments
 (0)