Skip to content

Commit

Permalink
fix internal clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
DevinR528 committed Mar 24, 2020
1 parent 68a54f6 commit 7a8fca3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clippy_lints/src/if_let_mutex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ impl<'tcx, 'l> Visitor<'tcx> for ArmVisitor<'tcx, 'l> {
self.visit_expr(expr)
}
},
StmtKind::Expr(expr) => self.visit_expr(expr),
StmtKind::Semi(expr) => self.visit_expr(expr),
StmtKind::Expr(expr) | StmtKind::Semi(expr) => self.visit_expr(expr),
// we don't care about `Item`
_ => {},
}
Expand Down

0 comments on commit 7a8fca3

Please sign in to comment.