mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-21 12:41:32 +00:00
Fix some tests
This commit is contained in:
@ -51,7 +51,7 @@
|
||||
//! // We're not importing anything, so make an empty import object.
|
||||
//! let import_object = imports! {};
|
||||
//!
|
||||
//! let mut instance = instantiate(WASM, import_object)?;
|
||||
//! let mut instance = instantiate(WASM, &import_object)?;
|
||||
//!
|
||||
//! let add_one: Func<i32, i32> = instance.func("add_one")?;
|
||||
//!
|
||||
|
Reference in New Issue
Block a user