remove unused muts

This commit is contained in:
Lukas Markeffsky 2023-04-28 20:19:48 +02:00
parent 69c71dacda
commit fc63926e18
7 changed files with 11 additions and 11 deletions

View file

@ -421,7 +421,7 @@ fn resolve_expr<'tcx>(visitor: &mut RegionResolutionVisitor<'tcx>, expr: &'tcx h
let target_scopes = visitor.fixup_scopes.drain(start_point..);
for scope in target_scopes {
let mut yield_data =
let yield_data =
visitor.scope_tree.yield_in_scope.get_mut(&scope).unwrap().last_mut().unwrap();
let count = yield_data.expr_and_pat_count;
let span = yield_data.span;