diff options
| author | Fuwn <[email protected]> | 2022-01-03 14:44:35 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-01-03 14:44:35 -0800 |
| commit | 9eabeb07cc292c142dc1441af3efb2e36c27dcba (patch) | |
| tree | fba78e449ea9659973caedc389016fd368ce94fa /crates/windows-kernel-rs/src/memory.rs | |
| parent | chore(windows-kernel-rs): remove unused statement (diff) | |
| download | driver-9eabeb07cc292c142dc1441af3efb2e36c27dcba.tar.xz driver-9eabeb07cc292c142dc1441af3efb2e36c27dcba.zip | |
fmt(crate): `cargo fmt`
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 { |