Skip to content

Commit 2df4fc0

Browse files
committed
fmt
1 parent a4a294a commit 2df4fc0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/tools/miri/src/provenance_gc.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: MiriInterpCxExt<'mir, 'tcx> {
194194

195195
fn remove_unreachable_allocs(&mut self, allocs: FxHashSet<AllocId>) {
196196
let this = self.eval_context_mut();
197-
let allocs = LiveAllocs {
198-
ecx: this,
199-
collected: allocs,
200-
};
197+
let allocs = LiveAllocs { ecx: this, collected: allocs };
201198
this.machine.allocation_spans.borrow_mut().retain(|id, _| allocs.is_live(*id));
202199
this.machine.intptrcast.borrow_mut().remove_unreachable_allocs(&allocs);
203200
if let Some(borrow_tracker) = &this.machine.borrow_tracker {

0 commit comments

Comments
 (0)