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.
2 parents 3735ae5 + 7b0d8f0 commit 714d9ceCopy full SHA for 714d9ce
src/allocator.rs
@@ -21,7 +21,7 @@ static ALLOCATOR: Locked<FixedSizeBlockAllocator> = Locked::new(FixedSizeBlockAl
21
pub fn init_heap(
22
mapper: &mut impl Mapper<Size4KiB>,
23
frame_allocator: &mut impl FrameAllocator<Size4KiB>,
24
-) -> Result<(), MapToError> {
+) -> Result<(), MapToError<Size4KiB>> {
25
let page_range = {
26
let heap_start = VirtAddr::new(HEAP_START as u64);
27
let heap_end = heap_start + HEAP_SIZE - 1u64;
0 commit comments