We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f230ee4 commit 7b0d8f0Copy full SHA for 7b0d8f0
src/allocator.rs
@@ -17,7 +17,7 @@ static ALLOCATOR: LockedHeap = LockedHeap::empty();
17
pub fn init_heap(
18
mapper: &mut impl Mapper<Size4KiB>,
19
frame_allocator: &mut impl FrameAllocator<Size4KiB>,
20
-) -> Result<(), MapToError> {
+) -> Result<(), MapToError<Size4KiB>> {
21
let page_range = {
22
let heap_start = VirtAddr::new(HEAP_START as u64);
23
let heap_end = heap_start + HEAP_SIZE - 1u64;
0 commit comments