Skip to content

Commit c2bbcdc

Browse files
refactor: condense crate lib setting instruction to single sentence
Co-authored-by: Mikhail Katychev <mkatych@gmail.com>
1 parent 8de1df9 commit c2bbcdc

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • component-model/src/language-support/using-wit-resources

component-model/src/language-support/using-wit-resources/rust.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ To implement the calculator in Rust:
4747
cargo add wit-bindgen
4848
```
4949

50-
The crate must also use the `cdylib` crate type. Add this section to
51-
`Cargo.toml`:
50+
Be sure to include the `cdylib` crate type in the `Cargo.toml` as well:
5251

5352
```toml
5453
[lib]

0 commit comments

Comments
 (0)