diff --git a/docs/WebAssembly/Rust.md b/docs/WebAssembly/Rust.md index 4524f0ab3..b87323d70 100644 --- a/docs/WebAssembly/Rust.md +++ b/docs/WebAssembly/Rust.md @@ -25,10 +25,11 @@ You will find wasmtime at [wasmtime.dev](https://wasmtime.dev/) ## Rust Code -First create a new project using the command below: +First create a new project and switch to `demo` directory using the command below: ```bash cargo new demo +cd demo ``` You can use any IDE of your choice and open up this project folder, add this to the `main.rs` file: