Skip to content

Commit de4e951

Browse files
fix(lang/rust): prose
Co-authored-by: Kate Goldenring <kate.goldenring@gmail.com>
1 parent af6d315 commit de4e951

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • component-model/src/language-support

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ $ cargo run --release -- 1 2 ../add/target/wasm32-wasip1/release/add.wasm
122122

123123
## Exporting an interface with `cargo component`
124124

125-
While it is possible to export a raw function, prefer exporting an interface, similar to the [sample `adder` world][add-wit].
125+
While it is possible to export a raw function, it is a best practice to export an interface, similar to the [sample `adder` world][add-wit].
126126
This often makes it easier to comply with an existing specification or to capture a set of functions and types
127127
that tend to go together.
128128

0 commit comments

Comments
 (0)