diff options
Diffstat (limited to 'crates/windows-kernel-rs/src/memory.rs')
| -rw-r--r-- | crates/windows-kernel-rs/src/memory.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/windows-kernel-rs/src/memory.rs b/crates/windows-kernel-rs/src/memory.rs index d2ad77b..b240cde 100644 --- a/crates/windows-kernel-rs/src/memory.rs +++ b/crates/windows-kernel-rs/src/memory.rs @@ -34,9 +34,7 @@ impl From<u64> for PhysicalAddress { // fn into(self) -> u64 { self.0 } // } impl From<PhysicalAddress> for u64 { - fn from(p: PhysicalAddress) -> Self { - p.0 - } + fn from(p: PhysicalAddress) -> Self { p.0 } } impl From<PHYSICAL_ADDRESS> for PhysicalAddress { |