Skip to content

Commit 7cae2f8

Browse files
committed
remove Specifications section
1 parent b549b97 commit 7cae2f8

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Core__Array.resi

+1-6
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ let findMap: (array<'a>, 'a => option<'b>) => option<'b>
971971
external at: (array<'a>, int) => option<'a> = "at"
972972

973973
/**
974-
`fromOneItem` generates a new array from a single value.
974+
`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)
975975

976976
## Examples
977977

@@ -982,11 +982,6 @@ Some("abc")->Array.fromOneItem // [Some("abc")]
982982
[1,2,3]->Array.fromOneItem // [[1,2,3]]
983983
{"x": 3, "y": 5}->Array.fromOneItem // Some({"x": 3, "y": 5})
984984
```
985-
986-
## Specifications
987-
988-
- [Array.of MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/of)
989-
- [Array.of ECMAScript Language Specification](https://tc39.es/ecma262/multipage/indexed-collections.html#sec-array.of)
990985
*/
991986
@val
992987
external fromOneItem: 'a => array<'a> = "Array.of"

0 commit comments

Comments
 (0)