mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 19:23:50 +00:00
Pacify rustfmt.
This commit is contained in:
parent
4434bfac01
commit
0373b007da
@ -210,9 +210,8 @@ where
|
||||
F: FnMut(&ast::Block, Option<&ast::Label>),
|
||||
{
|
||||
if let ast::ExprKind::While(_, loop_block, label)
|
||||
| ast::ExprKind::ForLoop(_, _, loop_block, label)
|
||||
| ast::ExprKind::Loop(loop_block, label)
|
||||
= &expr.node
|
||||
| ast::ExprKind::ForLoop(_, _, loop_block, label)
|
||||
| ast::ExprKind::Loop(loop_block, label) = &expr.node
|
||||
{
|
||||
func(loop_block, label.as_ref());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user