Skip to content

Commit

Permalink
fix(common-os): expect dead_code
Browse files Browse the repository at this point in the history
  • Loading branch information
mkroening committed Dec 20, 2024
1 parent 6578826 commit b6a7325
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/arch/x86_64/mm/paging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ pub trait PageTableEntryFlagsExt {
#[cfg(feature = "common-os")]
fn user(&mut self) -> &mut Self;

#[expect(dead_code)]
#[cfg(feature = "common-os")]
fn kernel(&mut self) -> &mut Self;
}
Expand Down

0 comments on commit b6a7325

Please sign in to comment.