Skip to content

Commit

Permalink
not_exhaustive_enough
Browse files Browse the repository at this point in the history
  • Loading branch information
jrqc committed Dec 30, 2020
1 parent 46741cb commit 891d914
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clippy_lints/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,9 @@ fn is_empty_block(expr: &Expr<'_>) -> bool {
expr.kind,
ExprKind::Block(
Block {
stmts: &[], expr: None, ..
stmts: &[],
expr: None,
..
},
_,
)
Expand Down

0 comments on commit 891d914

Please sign in to comment.