Skip to content

Commit 9fd1e7f

Browse files
authored
Update list.mdx fromArray example
1 parent 92a78ea commit 9fd1e7f

File tree

1 file changed

+1
-1
lines changed
  • pages/docs/manual/latest/api/belt

1 file changed

+1
-1
lines changed

pages/docs/manual/latest/api/belt/list.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ let fromArray: array<'a> => t<'a>
362362
Converts the given array to a list.
363363

364364
```res example
365-
Belt.List.fromArray([1, 2, 3]) // [1, 2, 3]
365+
Belt.List.fromArray([1, 2, 3]) // list{1, 2, 3}
366366
```
367367

368368
## toArray

0 commit comments

Comments
 (0)