Skip to content

Commit 35503d1

Browse files
refactor(pl/rust): improve composition ending notes
1 parent 90e2f5f commit 35503d1

File tree

1 file changed

+3
-3
lines changed
  • component-model/src/language-support/importing-and-reusing-components

1 file changed

+3
-3
lines changed

component-model/src/language-support/importing-and-reusing-components/rust.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ world root {
9797
}
9898
```
9999

100-
As the import is unfulfilled, the `calculator.wasm` component could not run by itself in its current form.
100+
As the import is unfulfilled, the `calculator.wasm` component could not run by itself in its current form. The next step is to fulfill the `add` import, so that only `calculate` is exported, and the component can be run.
101101

102-
To fulfill the `add` import, so that only `calculate` is exported, you would
103-
need to [compose the `calculator.wasm` with some `adder.wasm` into a single, self-contained component](../../composing-and-distributing/composing.md).
102+
The process of fufilling imports via other component's exports is called "composition". Learn more about how to compose the calculator.wasm
103+
with an adder.wasm into a single, self-contained component in the [component composition guide](../../composing-and-distributing/composing.md).
104104

105105
[!NOTE]: #

0 commit comments

Comments
 (0)