Skip to content

Commit

Permalink
fix: 4.08 compat (ocaml#11399)
Browse files Browse the repository at this point in the history
argument order

Signed-off-by: Rudi Grinberg <[email protected]>
Signed-off-by: Chris Armstrong <[email protected]>
  • Loading branch information
rgrinberg authored and chris-armstrong committed Jan 29, 2025
1 parent 6187e2f commit 5ad0c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otherlibs/stdune/src/array.ml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include struct

[@@@ocaml.warning "-32"]

let find_opt t ~f =
let find_opt ~f t =
try
for i = 0 to Array.length t do
if f t.(i) then raise_notrace (Found i)
Expand Down

0 comments on commit 5ad0c26

Please sign in to comment.