Skip to content

Commit 7e8e658

Browse files
chore(moonbit): use rust codefence for highlighting
1 parent 1a241f9 commit 7e8e658

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ code, which is what we need to fulfill.
147147

148148
Now implement the `add` function in `gen/interface/docs/adder/add/stub.mbt`:
149149

150-
```moonbit
150+
```rust
151151
{{#include ../../examples/tutorial/moonbit/adder/stub.mbt}}
152152
```
153153

@@ -250,13 +250,13 @@ For example, for the following interface:
250250

251251
Will generate the following type and function
252252

253-
```moonbit
253+
```rust
254254
{{#include ../../examples/tutorial/moonbit/adder-with-error/top.mbt}}
255255
```
256256

257257
which you may use it as:
258258

259-
```moonbit
259+
```rust
260260
{{#include ../../examples/tutorial/moonbit/adder-with-error/stub.mbt}}
261261
```
262262

0 commit comments

Comments
 (0)