diff --git a/lib/runtime-core/src/memory/mod.rs b/lib/runtime-core/src/memory/mod.rs index d172732cf..30fab393e 100644 --- a/lib/runtime-core/src/memory/mod.rs +++ b/lib/runtime-core/src/memory/mod.rs @@ -130,10 +130,7 @@ impl Memory { /// # } /// ``` pub fn view(&self) -> MemoryView { - let vm::LocalMemory { - base, - .. - } = unsafe { *self.vm_local_memory() }; + let vm::LocalMemory { base, .. } = unsafe { *self.vm_local_memory() }; let length = self.size().bytes().0 / mem::size_of::();