Skip to content

Commit 8ce22ce

Browse files
committed
fix typo in fromInitializer docstring
1 parent 3be7cfe commit 8ce22ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/List.resi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ List.make(~length=3, 1) // list{1, 1, 1}
187187
let make: (~length: int, 'a) => list<'a>
188188

189189
/**
190-
`makeBy(length, f)` return a list of length `length` with element initialized
190+
`fromInitializer(length, f)` return a list of length `length` with element initialized
191191
with `f`. Returns an empty list if `length` is negative.
192192

193193
## Examples

0 commit comments

Comments
 (0)