Skip to content

Commit

Permalink
Native: replace bare Ok by Result.Ok
Browse files Browse the repository at this point in the history
Fixes #65.
  • Loading branch information
mseri authored and aantron committed Oct 19, 2020
1 parent a97a900 commit a52d19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/native/promise.re
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ let allOkArray = promises => {
let promiseCount = Array.length(promises);

if (promiseCount == 0) {
resolved(Ok([||]));
resolved(Result.Ok([||]));
}
else {
let resultValues = Array.make(promiseCount, None);
Expand Down

0 comments on commit a52d19b

Please sign in to comment.