diff --git a/src/allocator.rs b/src/allocator.rs index f77fef9d..955ddc76 100644 --- a/src/allocator.rs +++ b/src/allocator.rs @@ -17,7 +17,7 @@ static ALLOCATOR: LockedHeap = LockedHeap::empty(); pub fn init_heap( mapper: &mut impl Mapper, frame_allocator: &mut impl FrameAllocator, -) -> Result<(), MapToError> { +) -> Result<(), MapToError> { let page_range = { let heap_start = VirtAddr::new(HEAP_START as u64); let heap_end = heap_start + HEAP_SIZE - 1u64;