Skip to content

Commit 4625271

Browse files
authored
Minor fixes for the README (#512)
1 parent f4e8002 commit 4625271

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ rustup target add wasm32-wasi
186186
Projects can then depend on `wit-bindgen` by executing:
187187

188188
```sh
189-
cargo add --git https://github.com/bytecodealliance/wit-bindgen wit-bindgen-guest-rust
189+
cargo add --git https://github.com/bytecodealliance/wit-bindgen wit-bindgen
190190
```
191191

192192
WIT files are currently added to a `wit/` folder adjacent to your `Cargo.toml`
@@ -197,7 +197,7 @@ file. Example code using this then looks like:
197197

198198
// Use a procedural macro to generate bindings for the world we specified in
199199
// `host.wit`
200-
wit_bindgen_guest_rust::generate!("host");
200+
wit_bindgen::generate!("host");
201201

202202
// Define a custom type and implement the generated `Host` trait for it which
203203
// represents implementing all the necesssary exported interfaces for this

0 commit comments

Comments
 (0)