(&self, layout: Layout)
| 77 | |
| 78 | #[inline] |
| 79 | fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { |
| 80 | let ptr = self.allocator.allocate_zeroed(layout)?; |
| 81 | self.metrics.mark_external_allocation(layout.size()); |
| 82 | Ok(ptr) |
| 83 | } |
| 84 | |
| 85 | #[inline] |
| 86 | unsafe fn grow( |
nothing calls this directly
no test coverage detected