diff --git a/crates/wasmtime/README.md b/crates/wasmtime/README.md index a1b29d7fe344..8552c90bcccd 100644 --- a/crates/wasmtime/README.md +++ b/crates/wasmtime/README.md @@ -94,7 +94,7 @@ fn main() -> Result<()> { // this case we're using `4` for. let mut store = Store::new(&engine, 4); let instance = linker.instantiate(&mut store, &module)?; - let hello = instance.get_typed_func::<(), (), _>(&mut store, "hello")?; + let hello = instance.get_typed_func::<(), ()>(&mut store, "hello")?; // And finally we can call the wasm! hello.call(&mut store, ())?;