Skip to content

Commit ceaa38e

Browse files
committed
remove Specifications section
1 parent 3626404 commit ceaa38e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Core__Array.resi

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ let findMap: (array<'a>, 'a => option<'b>) => option<'b>
957957
external at: (array<'a>, int) => option<'a> = "at"
958958

959959
/**
960-
`fromOneItem` generates a new array from a single value.
960+
`fromOneItem` generates a new array from a single value. See [Array.of on MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/of)
961961
962962
## Examples
963963
@@ -968,11 +968,6 @@ Some("abc")->Array.fromOneItem // [Some("abc")]
968968
[1,2,3]->Array.fromOneItem // [[1,2,3]]
969969
{"x": 3, "y": 5}->Array.fromOneItem // Some({"x": 3, "y": 5})
970970
```
971-
972-
## Specifications
973-
974-
- [Array.of MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/of)
975-
- [Array.of ECMAScript Language Specification](https://tc39.es/ecma262/multipage/indexed-collections.html#sec-array.of)
976971
*/
977972
@val
978973
external fromOneItem: 'a => array<'a> = "Array.of"

0 commit comments

Comments
 (0)