Skip to content

Commit

Permalink
Minor formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jounathaen committed Sep 17, 2024
1 parent 5511c8f commit 7975902
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/arch/x86_64/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,7 @@ mod tests {
PageTableFlags::from_bits_truncate(entry)
.difference(
PageTableFlags::PRESENT
| PageTableFlags::WRITABLE
| PageTableFlags::HUGE_PAGE
| PageTableFlags::WRITABLE | PageTableFlags::HUGE_PAGE
)
.is_empty(),
"Pagetable bits at {addr:#x} are incorrect"
Expand Down

0 comments on commit 7975902

Please sign in to comment.