Skip to content

Commit 239d8f6

Browse files
Fix doc to use correct function
makeBy is from Belt
1 parent 2410129 commit 239d8f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core__List.resi

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

181181
/**
182-
`makeBy(length, f)` return a list of length `length` with element initialized
182+
`fromInitializer(length, f)` return a list of length `length` with element initialized
183183
with `f`. Returns an empty list if `length` is negative.
184184
185185
## Examples

0 commit comments

Comments
 (0)