Skip to content

Commit a5754a1

Browse files
committed
Run cargo dev fmt
1 parent da86067 commit a5754a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clippy_lints/src/utils/ast_utils.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,9 @@ pub fn eq_stmt(l: &Stmt, r: &Stmt) -> bool {
191191
(Item(l), Item(r)) => eq_item(l, r, eq_item_kind),
192192
(Expr(l), Expr(r)) | (Semi(l), Semi(r)) => eq_expr(l, r),
193193
(Empty, Empty) => true,
194-
(MacCall(l), MacCall(r)) => l.style == r.style && eq_mac_call(&l.mac, &r.mac) && over(&l.attrs, &r.attrs, |l, r| eq_attr(l, r)),
194+
(MacCall(l), MacCall(r)) => {
195+
l.style == r.style && eq_mac_call(&l.mac, &r.mac) && over(&l.attrs, &r.attrs, |l, r| eq_attr(l, r))
196+
},
195197
_ => false,
196198
}
197199
}

0 commit comments

Comments
 (0)