diff --git a/crates/wasmtime/src/component/mod.rs b/crates/wasmtime/src/component/mod.rs index 15212fb928..e5cc6d4969 100644 --- a/crates/wasmtime/src/component/mod.rs +++ b/crates/wasmtime/src/component/mod.rs @@ -135,7 +135,7 @@ pub(crate) use self::store::ComponentStoreData; /// /// // Here our `greet` function doesn't take any parameters for the component, /// // but in the Wasmtime embedding API the first argument is always a `Store`. -/// bindings.greet(&mut store)?; +/// bindings.call_greet(&mut store)?; /// Ok(()) /// } /// ```