diff --git a/src/allocator.rs b/src/allocator.rs index 11ebeb52..dce05a62 100644 --- a/src/allocator.rs +++ b/src/allocator.rs @@ -21,7 +21,7 @@ static ALLOCATOR: Locked = Locked::new(FixedSizeBlockAl 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;