diff --git a/component-model/src/language-support/rust.md b/component-model/src/language-support/rust.md index 263bbaa1..a5eb7572 100644 --- a/component-model/src/language-support/rust.md +++ b/component-model/src/language-support/rust.md @@ -19,7 +19,7 @@ Create a Rust library that implements the `add` function in the [`example` world](https://github.com/bytecodealliance/component-docs/tree/main/component-model/examples/example-host/add.wit). First scaffold a project: ```sh -$ cargo component new add --lib && cd add +$ cargo component new adder --lib && cd adder ``` Note that `cargo component` generates the necessary bindings as a module called `bindings`.