Skip to content

Commit 7b0d8f0

Browse files
committed
Fix code for x86_64 v0.9.5 update
1 parent f230ee4 commit 7b0d8f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/allocator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ static ALLOCATOR: LockedHeap = LockedHeap::empty();
1717
pub fn init_heap(
1818
mapper: &mut impl Mapper<Size4KiB>,
1919
frame_allocator: &mut impl FrameAllocator<Size4KiB>,
20-
) -> Result<(), MapToError> {
20+
) -> Result<(), MapToError<Size4KiB>> {
2121
let page_range = {
2222
let heap_start = VirtAddr::new(HEAP_START as u64);
2323
let heap_end = heap_start + HEAP_SIZE - 1u64;

0 commit comments

Comments
 (0)