From 23cd1d4c2f35fac0f8d42aeb8d94c7d08e1430d4 Mon Sep 17 00:00:00 2001 From: Nero <46645625+nerodesu017@users.noreply.github.com> Date: Tue, 18 Jun 2024 16:19:15 +0300 Subject: [PATCH] patch(docs): update rust binding The `use` declaration was wrongly pointing to an inexistent binding --- component-model/src/language-support/rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component-model/src/language-support/rust.md b/component-model/src/language-support/rust.md index 6791498..ac77a5c 100644 --- a/component-model/src/language-support/rust.md +++ b/component-model/src/language-support/rust.md @@ -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;