@@ -148,23 +148,23 @@ If you execute `moon check`, there will be a warning
148148suggesting that file ` gen/interface/docs/adder/add/stub.mbt ` contains unfinished
149149code, which is what we need to complete.
150150
151- ## 5 . Implement the Component Logic
151+ ## 4 . Implement the Component Logic
152152
153153Implement the ` add ` function in ` gen/interface/docs/adder/add/stub.mbt ` :
154154
155155``` rust
156156{{#include .. / .. / examples / tutorial / moonbit / adder / stub . mbt}}
157157```
158158
159- ## 6 . Configure the Build
159+ ## 5 . Configure the Build
160160
161161Ensure your ` gen/moon.pkg.json ` is properly configured for WebAssembly target:
162162
163163``` json
164164{{#include ../../examples/tutorial/moonbit/adder/moon.pkg.json }}
165165```
166166
167- ## 7 . Build the WebAssembly Component
167+ ## 5 . Build the WebAssembly Component
168168
169169Build the MoonBit code to WebAssembly core module:
170170
@@ -202,7 +202,7 @@ package docs:adder@0.1.0 {
202202}
203203```
204204
205- ## 8 . Testing the Component
205+ ## 6 . Testing the Component
206206
207207### Using the Example Host
208208
@@ -281,7 +281,7 @@ used if you are generating the project as part of a larger project.
281281By default, the exportation parts are generated under ` gen ` . You may use this
282282option to specify another directory.
283283
284- ## 10. References and Further Reading
284+ ## References and Further Reading
285285
286286- [ MoonBit Official Website] ( https://www.moonbitlang.com/ )
287287- [ MoonBit Language Documentation] ( https://docs.moonbitlang.com/ )
0 commit comments