From 462527127f0d9de935f01e298a7e1c975e124a62 Mon Sep 17 00:00:00 2001 From: Surma Date: Fri, 17 Feb 2023 15:07:20 +0000 Subject: [PATCH] Minor fixes for the README (#512) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 012d2d33c..5e87733df 100644 --- a/README.md +++ b/README.md @@ -186,7 +186,7 @@ rustup target add wasm32-wasi Projects can then depend on `wit-bindgen` by executing: ```sh -cargo add --git https://github.com/bytecodealliance/wit-bindgen wit-bindgen-guest-rust +cargo add --git https://github.com/bytecodealliance/wit-bindgen wit-bindgen ``` 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: // Use a procedural macro to generate bindings for the world we specified in // `host.wit` -wit_bindgen_guest_rust::generate!("host"); +wit_bindgen::generate!("host"); // Define a custom type and implement the generated `Host` trait for it which // represents implementing all the necesssary exported interfaces for this