Skip to content

Commit

Permalink
docs(README): changed rust example Host -> Guest (#658)
Browse files Browse the repository at this point in the history
Signed-off-by: kjuulh <contact@kjuulh.io>
  • Loading branch information
kjuulh committed Aug 28, 2023
1 parent 86401dc commit 376f0c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,12 @@ wit_bindgen::generate!({
},
});

// Define a custom type and implement the generated `Host` trait for it which
// Define a custom type and implement the generated `Guest` trait for it which
// represents implementing all the necessary exported interfaces for this
// component.
struct MyHost;

impl Host for MyHost {
impl Guest for MyHost {
fn run() {
print("Hello, world!");
}
Expand Down

0 comments on commit 376f0c2

Please sign in to comment.