Skip to content

Commit 67da7b0

Browse files
Auto-format: cargo fmt --all
1 parent a9ceb2b commit 67da7b0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

crates/vm/src/object/core.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -857,10 +857,7 @@ impl<T: PyPayload> Drop for FreeList<T> {
857857
// MAX_FREELIST per type per thread.
858858
for ptr in self.items.drain(..) {
859859
unsafe {
860-
alloc::alloc::dealloc(
861-
ptr as *mut u8,
862-
alloc::alloc::Layout::new::<PyInner<T>>(),
863-
);
860+
alloc::alloc::dealloc(ptr as *mut u8, alloc::alloc::Layout::new::<PyInner<T>>());
864861
}
865862
}
866863
}

0 commit comments

Comments
 (0)