chore: Make linter happy

This commit is contained in:
Edoardo Marangoni
2025-02-28 14:58:09 +01:00
parent 680f6cc817
commit c8592476a3
8 changed files with 29 additions and 28 deletions

View File

@@ -172,7 +172,7 @@ pub unsafe extern "C" fn wasmer_module_new(
engine: Option<&mut wasm_engine_t>,
bytes: Option<&wasm_byte_vec_t>,
) -> Option<Box<wasm_module_t>> {
let engine: wasmer_api::Engine = engine?.inner.clone().into();
let engine: wasmer_api::Engine = engine?.inner.clone();
let bytes = bytes?;
let module = c_try!(Module::from_binary(&engine, bytes.as_slice()));