Add semicolons up to needless_for_each.rs

This commit is contained in:
mbartlett21
2021-05-25 00:54:50 +00:00
parent 1ac7e19b4c
commit cadad20da1
46 changed files with 105 additions and 104 deletions

View File

@@ -181,9 +181,9 @@ impl<'a, 'tcx> Visitor<'tcx> for NumericFallbackVisitor<'a, 'tcx> {
match stmt.kind {
StmtKind::Local(local) => {
if local.ty.is_some() {
self.ty_bounds.push(TyBound::Any)
self.ty_bounds.push(TyBound::Any);
} else {
self.ty_bounds.push(TyBound::Nothing)
self.ty_bounds.push(TyBound::Nothing);
}
},