Skip to content

Commit 266e9f3

Browse files
fix(lang/rust): prose
Co-authored-by: Kate Goldenring <[email protected]>
1 parent ec6b327 commit 266e9f3

File tree

1 file changed

+1
-1
lines changed
  • component-model/src/language-support

1 file changed

+1
-1
lines changed

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

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

125125
## Exporting an interface with `cargo component`
126126

127-
While it is possible to export a raw function, prefer exporting an interface, similar to the [sample `adder` world][add-wit].
127+
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].
128128
This often makes it easier to comply with an existing specification or to capture a set of functions and types
129129
that tend to go together.
130130

0 commit comments

Comments
 (0)