Skip to content

Commit c23edcc

Browse files
rscprofytmimi
authored andcommitted
Update src/items.rs
Co-authored-by: Yacin Tmimi <yacintmimi@gmail.com>
1 parent 47fd519 commit c23edcc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/items.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3374,7 +3374,8 @@ impl Rewrite for ast::ForeignItem {
33743374
rewrite_type_alias(ty_alias, context, shape.indent, kind, span)
33753375
}
33763376
ast::ForeignItemKind::MacCall(ref mac) => {
3377-
rewrite_macro(mac, None, context, shape, MacroPosition::Item).0
3377+
let (rewrite, _) = rewrite_macro(mac, None, context, shape, MacroPosition::Item);
3378+
rewrite
33783379
}
33793380
}?;
33803381

0 commit comments

Comments
 (0)