Skip to content

Commit

Permalink
Restrict read return type
Browse files Browse the repository at this point in the history
  • Loading branch information
andrenth committed Feb 28, 2012
1 parent 3360d75 commit 40188ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/release_ipc.ml
Expand Up @@ -17,7 +17,7 @@ module type S = sig

val read : ?timeout:float
-> Lwt_unix.file_descr
-> [> `Data of string | `EOF | `Timeout ] Lwt.t
-> [`Data of string | `EOF | `Timeout] Lwt.t

val write : Lwt_unix.file_descr -> string -> unit Lwt.t

Expand Down
2 changes: 1 addition & 1 deletion lib/release_ipc.mli
Expand Up @@ -15,7 +15,7 @@ module type S = sig

val read : ?timeout:float
-> Lwt_unix.file_descr
-> [> `Data of string | `EOF | `Timeout ] Lwt.t
-> [`Data of string | `EOF | `Timeout] Lwt.t

val write : Lwt_unix.file_descr -> string -> unit Lwt.t

Expand Down

0 comments on commit 40188ee

Please sign in to comment.