Remove an unnecessary mut, fixing a compiler warning.

This commit is contained in:
Dan Gohman
2017-08-29 06:25:19 -07:00
parent b2fcb1ad17
commit dcb65b59c1

View File

@@ -61,7 +61,7 @@ fn handle_module(path: PathBuf) -> Result<(), String> {
};
let mut dummy_runtime = DummyRuntime::new();
let translation = {
let mut runtime: &mut WasmRuntime = &mut dummy_runtime;
let runtime: &mut WasmRuntime = &mut dummy_runtime;
match translate_module(&data, runtime) {
Ok(x) => x,
Err(string) => {