diff --git a/lib/wasmstandalone/src/execution.rs b/lib/wasmstandalone/src/execution.rs index 400a7b4901..e56b89e1f7 100644 --- a/lib/wasmstandalone/src/execution.rs +++ b/lib/wasmstandalone/src/execution.rs @@ -45,8 +45,8 @@ impl RelocSink for StandaloneRelocSink { } impl StandaloneRelocSink { - fn new() -> StandaloneRelocSink { - StandaloneRelocSink { + fn new() -> Self { + Self { ebbs: HashMap::new(), funcs: HashMap::new(), jts: HashMap::new(),