Skip to content

Commit 31a5752

Browse files
committed
not_exhaustive_enough
1 parent 7f65cab commit 31a5752

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clippy_lints/src/types.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,9 @@ fn is_empty_block(expr: &Expr<'_>) -> bool {
11041104
expr.kind,
11051105
ExprKind::Block(
11061106
Block {
1107-
stmts: &[], expr: None, ..
1107+
stmts: &[],
1108+
expr: None,
1109+
..
11081110
},
11091111
_,
11101112
)

0 commit comments

Comments
 (0)