mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-09 22:28:21 +00:00
Minor styling
This commit is contained in:
2
lib/api/src/externals/memory.rs
vendored
2
lib/api/src/externals/memory.rs
vendored
@@ -153,7 +153,7 @@ impl Memory {
|
||||
return None;
|
||||
}
|
||||
self.try_clone(&store)
|
||||
.and_then(|mut memory| memory.duplicate().ok())
|
||||
.and_then(|memory| memory.duplicate().ok())
|
||||
.map(|new_memory| Self::new_from_existing(new_store, new_memory.into()))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user