Skip to content

Commit 728c39b

Browse files
committed
Group hex literal by four to resolve clippy warning
1 parent c4a51ea commit 728c39b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/structures/paging/page_table.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ impl PageTableEntry {
5353
/// Returns the physical address mapped by this entry, might be zero.
5454
#[inline]
5555
pub fn addr(&self) -> PhysAddr {
56-
PhysAddr::new(self.entry & 0x000fffff_fffff000)
56+
PhysAddr::new(self.entry & 0x000f_ffff_ffff_f000)
5757
}
5858

5959
/// Returns the physical frame mapped by this entry.

0 commit comments

Comments
 (0)