Skip to content

Commit b26223f

Browse files
rscprofytmimi
authored andcommitted
Update src/types.rs
Co-authored-by: Yacin Tmimi <yacintmimi@gmail.com>
1 parent 38f7c64 commit b26223f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/types.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,8 @@ impl Rewrite for ast::Ty {
829829
ast::TyKind::BareFn(ref bare_fn) => rewrite_bare_fn(bare_fn, self.span, context, shape),
830830
ast::TyKind::Never => Some(String::from("!")),
831831
ast::TyKind::MacCall(ref mac) => {
832-
rewrite_macro(mac, None, context, shape, MacroPosition::Expression).0
832+
let (rewrite, _) = rewrite_macro(mac, None, context, shape, MacroPosition::Expression);
833+
rewrite
833834
}
834835
ast::TyKind::ImplicitSelf => Some(String::from("")),
835836
ast::TyKind::ImplTrait(_, ref it) => {

0 commit comments

Comments
 (0)