Add semicolon in needless_for_each.rs

This commit is contained in:
mbartlett21 2021-05-25 02:06:45 +00:00
parent 6d73777224
commit 9cad27fce8

View File

@ -142,7 +142,7 @@ impl<'tcx> Visitor<'tcx> for RetCollector {
match expr.kind {
ExprKind::Ret(..) => {
if self.loop_depth > 0 && !self.ret_in_loop {
self.ret_in_loop = true
self.ret_in_loop = true;
}
self.spans.push(expr.span);