Remove redundant clone, this is an Arc.

https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
This commit is contained in:
Nick Lewycky
2020-10-08 20:26:47 -07:00
parent b7b88ea680
commit 3aec7f74f2

View File

@@ -90,7 +90,7 @@ impl Global {
pub(crate) fn from_export(store: &Store, wasmer_export: ExportGlobal) -> Self {
Self {
store: store.clone(),
global: wasmer_export.from.clone(),
global: wasmer_export.from,
}
}