mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-28 07:30:57 +00:00
Run cargo dev fmt
This commit is contained in:
parent
da86067775
commit
a5754a1fad
1 changed files with 3 additions and 1 deletions
|
@ -191,7 +191,9 @@ pub fn eq_stmt(l: &Stmt, r: &Stmt) -> bool {
|
||||||
(Item(l), Item(r)) => eq_item(l, r, eq_item_kind),
|
(Item(l), Item(r)) => eq_item(l, r, eq_item_kind),
|
||||||
(Expr(l), Expr(r)) | (Semi(l), Semi(r)) => eq_expr(l, r),
|
(Expr(l), Expr(r)) | (Semi(l), Semi(r)) => eq_expr(l, r),
|
||||||
(Empty, Empty) => true,
|
(Empty, Empty) => true,
|
||||||
(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)),
|
(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))
|
||||||
|
},
|
||||||
_ => false,
|
_ => false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue