Skip to content

Commit

Permalink
removed explicit conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
Arogbonlo committed Oct 18, 2024
1 parent caec6eb commit c75c535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib_eio_linux/eio_linux.ml
Original file line number Diff line number Diff line change
Expand Up @@ -537,8 +537,8 @@ let run_event_loop (type a) ?fallback config (main : _ -> a) arg : a =
| Eio_unix.Private.Pipe sw -> Some (fun k ->
match
let r, w = Low_level.pipe ~sw in
let r = (Flow.of_fd r :> [< Eio_unix.source_ty] Eio.Std.r) in
let w = (Flow.of_fd w :> [< Eio_unix.sink_ty] Eio.Std.r) in
let r = Flow.of_fd r in
let w = Flow.of_fd w in
(r, w)
with
| r -> continue k r
Expand Down

0 comments on commit c75c535

Please sign in to comment.