Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Provenzano committed Nov 15, 2024
1 parent 4c9ab1c commit 55d088f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/CCResult.ml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ let is_error = function
let split_ok_error results =
results
|> CCList.partition_filter_map (fun x ->
match x with Ok o -> `Left o | Error e -> `Right e)
match x with
| Ok o -> `Left o
| Error e -> `Right e)

(** {2 Wrappers} *)

Expand Down

0 comments on commit 55d088f

Please sign in to comment.