mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Run cargo fmt to clean up
This commit is contained in:
parent
914b20d01f
commit
c6957a6287
@ -240,8 +240,7 @@ pub fn start_instance(
|
||||
Some(&Export::Function(index)) => index,
|
||||
_ => panic!("Main function not found"),
|
||||
});
|
||||
let main: extern "C" fn(&Instance) =
|
||||
get_instance_function!(instance, func_index);
|
||||
let main: extern "C" fn(&Instance) = get_instance_function!(instance, func_index);
|
||||
call_protected!(main(&instance)).map_err(|err| format!("{}", err))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user