fix internal clippy warnings

This commit is contained in:
Devin R 2020-03-18 19:53:22 -04:00
parent 930619b484
commit 1ee04e4f55

View file

@ -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`
_ => {},
}