Skip to content

Commit b0b2a3a

Browse files
authored
Merge pull request #430 from vinc/fix/compilation-warnings
Remove unused paging imports
2 parents b125948 + 035da74 commit b0b2a3a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/page_table.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ use crate::frame_allocator::FrameAllocator;
22
use bootloader::bootinfo::MemoryRegionType;
33
use bootloader::bootinfo::TlsTemplate;
44
use fixedvec::FixedVec;
5-
use x86_64::structures::paging::mapper::{MapToError, MapperFlush, TranslateResult, UnmapError};
5+
use x86_64::structures::paging::mapper::{MapToError, MapperFlush, UnmapError};
66
use x86_64::structures::paging::{
77
self, Mapper, Page, PageSize, PageTableFlags, PhysFrame, RecursivePageTable, Size4KiB,
8-
Translate,
98
};
109
use x86_64::{align_up, PhysAddr, VirtAddr};
1110
use xmas_elf::program::{self, ProgramHeader64};

0 commit comments

Comments
 (0)