Skip to content

Commit

Permalink
Merge pull request #32 from sachaos/fix-wrong-item-numbers
Browse files Browse the repository at this point in the history
Fix wrong item numbers
  • Loading branch information
kate-goldenring authored Aug 31, 2023
2 parents 1d68094 + 7212797 commit a03a624
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions component-model/src/language-support/rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ path = "wit"

> If the external package refers to other packages, you need to provide the paths to them as well.
3. Use the imported interface in your Rust code:
4. Use the imported interface in your Rust code:

```rust
use bindings::docs::calculator::calculate::eval_expression;
Expand All @@ -217,9 +217,9 @@ fn main() {
}
```

4. [Compose the command component with the `.wasm` components that implement the imports.](../creating-and-consuming/composing.md)
5. [Compose the command component with the `.wasm` components that implement the imports.](../creating-and-consuming/composing.md)

5. Run the composed component:
6. Run the composed component:

```sh
$ wasmtime run --wasm-features component-model ./my-composed-command.wasm
Expand Down

0 comments on commit a03a624

Please sign in to comment.