Skip to content

Commit 34e6f2f

Browse files
Change more examples from Belt to RescriptCore
1 parent 3bd6628 commit 34e6f2f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pages/docs/manual/latest/build-external-stdlib.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Now the compiled JS code will import using the path defined by `external-stdlib`
4242
<CodeTab labels={["ReScript", "JS output"]}>
4343

4444
```res
45-
Belt.Array.forEach([1, 2, 3], num => Js.log(num))
45+
Array.forEach([1, 2, 3], num => Js.log(num))
4646
```
4747

4848
```js

pages/docs/manual/latest/generate-converters-accessors.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ type pet = {name: string}
8888
let pets = [{name: "bob"}, {name: "bob2"}]
8989
9090
pets
91-
->Belt.Array.map(name)
92-
->Js.Array2.joinWith("&")
91+
->Array.map(name)
92+
->Array.joinWith("&")
9393
->Js.log
9494
```
9595

0 commit comments

Comments
 (0)