From db88701eaacdfe65bde8211f572ca4741aa6f3a3 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 3 Oct 2017 12:54:35 -0700 Subject: [PATCH] Use `Self`. --- lib/wasmstandalone/src/execution.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(),