mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-06 12:48:20 +00:00
Remove redundant clone, this is an Arc.
https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
This commit is contained in:
2
lib/api/src/externals/global.rs
vendored
2
lib/api/src/externals/global.rs
vendored
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user