Skip to content

Commit 714d9ce

Browse files
committed
Merge branch 'post-10' into post-11
2 parents 3735ae5 + 7b0d8f0 commit 714d9ce

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
@@ -21,7 +21,7 @@ static ALLOCATOR: Locked<FixedSizeBlockAllocator> = Locked::new(FixedSizeBlockAl
2121
pub fn init_heap(
2222
mapper: &mut impl Mapper<Size4KiB>,
2323
frame_allocator: &mut impl FrameAllocator<Size4KiB>,
24-
) -> Result<(), MapToError> {
24+
) -> Result<(), MapToError<Size4KiB>> {
2525
let page_range = {
2626
let heap_start = VirtAddr::new(HEAP_START as u64);
2727
let heap_end = heap_start + HEAP_SIZE - 1u64;

0 commit comments

Comments
 (0)