Skip to content

Commit

Permalink
relaxed return types
Browse files Browse the repository at this point in the history
  • Loading branch information
Arogbonlo committed Nov 10, 2024
1 parent 3ff5c34 commit 08cef9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib_eio/unix/eio_unix.mli
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ val run_in_systhread : ?label:string -> (unit -> 'a) -> 'a
@param label The operation name to use in trace output. *)

val pipe : Switch.t -> source_ty r * sink_ty r
val pipe : Switch.t -> [< source_ty] r * [< sink_ty] r
(** [pipe sw] returns a connected pair of flows [src] and [sink]. Data written to [sink]
can be read from [src].
Note that, like all FDs created by Eio, they are both marked as close-on-exec by default. *)
Expand Down

0 comments on commit 08cef9c

Please sign in to comment.