mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-24 18:03:25 +00:00
Revise the docs of the slab and remove an unused type
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
3d21258baf
commit
288942b970
@ -31,7 +31,7 @@ static FRAME_ALLOCATOR: FrameAllocator = FrameAllocator;
|
||||
#[ostd::global_heap_allocator]
|
||||
static HEAP_ALLOCATOR: HeapAllocator = HeapAllocator;
|
||||
|
||||
#[ostd::global_heap_allocator_slot_type_map]
|
||||
#[ostd::global_heap_allocator_slot_map]
|
||||
const fn slot_type_from_layout(layout: core::alloc::Layout) -> Option<ostd::mm::heap::SlotInfo> {
|
||||
type_from_layout(layout)
|
||||
}
|
||||
|
Reference in New Issue
Block a user