Skip to content

Commit 02e4760

Browse files
committed
updated with feedback on add interface
1 parent a2228c0 commit 02e4760

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • component-model/src/language-support

component-model/src/language-support/rust.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ $ cargo run --release -- 1 2 ../add/target/wasm32-wasip1/release/add.wasm
126126

127127
## Exporting an interface
128128

129-
Notice how our `example` world currently exports `add` as a function. It's
130-
often preferable to export an interface rather than a function, either to
129+
Notice how our `root` world in the `wasm-tools` output exports `add` as part of an _interface_.
130+
It's often preferable to export an interface rather than a function, either to
131131
comply with an existing specification or to capture several functions and types
132132
at once.
133133

0 commit comments

Comments
 (0)