Skip to content

Commit 35c8f0e

Browse files
authored
Update Stdlib_Iterator.resi (#7552)
* Update Stdlib_Iterator.resi * Remove duplicate parentheses
1 parent ece0702 commit 35c8f0e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

runtime/Stdlib_Iterator.resi

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ mapKeysAsArray->assertEqual(["someKey", "someKey2"])
6868
6969
Since March 2025, this feature works across the latest devices and browser versions.
7070
This feature might not work in older devices or browsers.
71-
```
7271
*/
7372
@send
7473
external toArray: t<'a> => array<'a> = "toArray"
@@ -128,7 +127,7 @@ external forEach: (t<'a>, 'a => unit) => unit = "forEach"
128127
external ignore: t<'a> => unit = "%ignore"
129128

130129
/**
131-
`drop((iterator, n))` returns a new iterator helper object that skips the given number of elements at the start of this iterator.
130+
`drop(iterator, n)` returns a new iterator helper object that skips the given number of elements at the start of this iterator.
132131
133132
See [Iterator.prototype.drop](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Iterator/drop) on MDN.
134133
@@ -145,7 +144,6 @@ seq->Iterator.next->assertEqual({done: false, value: Some(3)})
145144
146145
Since March 2025, this feature works across the latest devices and browser versions.
147146
This feature might not work in older devices or browsers.
148-
```
149147
*/
150148
@send
151149
external drop: (t<'a>, int) => t<'a> = "drop"

0 commit comments

Comments
 (0)