From 704556e45e518bf2c5a33dbb4d6f6e7ef784c5db Mon Sep 17 00:00:00 2001 From: Brandon Fish Date: Sat, 8 Dec 2018 00:16:16 -0600 Subject: [PATCH] Fix redundant_field_names --- src/webassembly/mod.rs | 2 +- src/webassembly/module.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webassembly/mod.rs b/src/webassembly/mod.rs index b81c60278..2b1b45a24 100644 --- a/src/webassembly/mod.rs +++ b/src/webassembly/mod.rs @@ -72,7 +72,7 @@ pub fn instantiate( mock_missing_tables: true, use_emscripten: is_emscripten_module(&module), show_progressbar: true, - isa: isa, + isa, }, )?; debug!("webassembly - instance created"); diff --git a/src/webassembly/module.rs b/src/webassembly/module.rs index b15fd8697..f8191613c 100644 --- a/src/webassembly/module.rs +++ b/src/webassembly/module.rs @@ -76,7 +76,7 @@ impl ImportableExportable { Self { entity, export_names: Vec::new(), - import_name: import_name, + import_name, } } }