From 7b0d8f05baa68ff74078b8df847fb2a1d3e21858 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 8 Mar 2020 14:30:33 +0100 Subject: [PATCH] Fix code for x86_64 v0.9.5 update --- src/allocator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;