Minor styling

This commit is contained in:
Syrus Akbary
2023-03-16 17:38:24 -07:00
parent ae07aac062
commit c3ff83a3ef

View File

@@ -153,7 +153,7 @@ impl Memory {
return None; return None;
} }
self.try_clone(&store) 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())) .map(|new_memory| Self::new_from_existing(new_store, new_memory.into()))
} }