Skip to content

Commit

Permalink
Mark resolvers contravariant
Browse files Browse the repository at this point in the history
Resolves #458.
  • Loading branch information
aantron committed Mar 24, 2018
1 parent 25c40ee commit a28d386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/lwt.mli
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ type +'a t
There is one exception to this: most promises can be {e canceled} by calling
{!Lwt.cancel}, without going through a resolver. *)

type 'a u
type -'a u
(** Resolvers for promises of type ['a ]{!Lwt.t}.
Each resolver can be thought of as the {b write end} of one promise. It can
Expand Down

0 comments on commit a28d386

Please sign in to comment.