Skip to content

Commit 86f069d

Browse files
committed
Remove redundant call to expand_item_multi_modifier
1 parent 5eb775e commit 86f069d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/libsyntax/ext/expand.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,7 @@ macro_rules! with_exts_frame {
309309
// When we enter a module, record it, for the sake of `module!`
310310
pub fn expand_item(it: P<ast::Item>, fld: &mut MacroExpander)
311311
-> SmallVector<P<ast::Item>> {
312-
let it = expand_item_multi_modifier(Annotatable::Item(it), fld);
313-
314-
expand_annotatable(it, fld)
312+
expand_annotatable(Annotatable::Item(it), fld)
315313
.into_iter().map(|i| i.expect_item()).collect()
316314
}
317315

0 commit comments

Comments
 (0)