Skip to content

Commit

Permalink
patch(docs): update rust binding
Browse files Browse the repository at this point in the history
The `use` declaration was wrongly pointing to an inexistent binding
  • Loading branch information
nerodesu017 committed Jun 18, 2024
1 parent d6eda9e commit 23cd1d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component-model/src/language-support/rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ you would write the following Rust code:
```rust
mod bindings;
// Separating out the interface puts it in a sub-module
use bindings::exports::docs::calculator::add::Guest;
use bindings::exports::docs::adder::add::Guest;

struct Component;

Expand Down

0 comments on commit 23cd1d4

Please sign in to comment.