Skip to content

Commit 38f7c64

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/patterns.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@ impl Rewrite for Pat {
269269
shape,
270270
),
271271
PatKind::MacCall(ref mac) => {
272-
rewrite_macro(mac, None, context, shape, MacroPosition::Pat).0
272+
let (rewrite, _) = rewrite_macro(mac, None, context, shape, MacroPosition::Pat)
273+
rewrite
273274
}
274275
PatKind::Paren(ref pat) => pat
275276
.rewrite(context, shape.offset_left(1)?.sub_width(1)?)

0 commit comments

Comments
 (0)