(&self, ptr: NonNull<u8>, layout: Layout)
| 69 | |
| 70 | #[inline] |
| 71 | unsafe fn deallocate(&self, ptr: NonNull<u8>, layout: Layout) { |
| 72 | unsafe { |
| 73 | self.metrics.mark_external_deallocation(layout.size()); |
| 74 | self.allocator.deallocate(ptr, layout); |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | #[inline] |
| 79 | fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { |
nothing calls this directly
no test coverage detected