mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Run fmt
This commit is contained in:
parent
308d9dde3f
commit
271e68d88b
@ -130,10 +130,7 @@ impl Memory {
|
||||
/// # }
|
||||
/// ```
|
||||
pub fn view<T: ValueType>(&self) -> MemoryView<T> {
|
||||
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::<T>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user