(&self, ptr: *mut u8, layout: alloc::alloc::Layout)
| 97 | } |
| 98 | |
| 99 | unsafe fn dealloc(&self, ptr: *mut u8, layout: alloc::alloc::Layout) { |
| 100 | (self.d)(ptr, layout.size(), layout.align()); |
| 101 | } |
| 102 | } |
| 103 | impl AllocFromCtx { |
| 104 | pub const fn init() -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected