Skip to content

Commit 08cef9c

Browse files
committed
relaxed return types
1 parent 3ff5c34 commit 08cef9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib_eio/unix/eio_unix.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ val run_in_systhread : ?label:string -> (unit -> 'a) -> 'a
5858
5959
@param label The operation name to use in trace output. *)
6060

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

0 commit comments

Comments
 (0)