mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Rename PhantomData field
This commit is contained in:
@@ -8,7 +8,7 @@ pub const P4: *mut Table<Level4> = 0xffffffff_fffff000 as *mut _;
|
|||||||
|
|
||||||
pub struct Table<L: TableLevel> {
|
pub struct Table<L: TableLevel> {
|
||||||
entries: [Entry; ENTRY_COUNT],
|
entries: [Entry; ENTRY_COUNT],
|
||||||
_phantom: PhantomData<L>,
|
level: PhantomData<L>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<L> Table<L> where L: TableLevel
|
impl<L> Table<L> where L: TableLevel
|
||||||
|
|||||||
Reference in New Issue
Block a user