We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9ceb2b commit 67da7b0Copy full SHA for 67da7b0
crates/vm/src/object/core.rs
@@ -857,10 +857,7 @@ impl<T: PyPayload> Drop for FreeList<T> {
857
// MAX_FREELIST per type per thread.
858
for ptr in self.items.drain(..) {
859
unsafe {
860
- alloc::alloc::dealloc(
861
- ptr as *mut u8,
862
- alloc::alloc::Layout::new::<PyInner<T>>(),
863
- );
+ alloc::alloc::dealloc(ptr as *mut u8, alloc::alloc::Layout::new::<PyInner<T>>());
864
}
865
866
0 commit comments