Skip to content

Commit

Permalink
More uniform wording in documentation of finalize
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael-proust committed Dec 15, 2020
1 parent ea3f04c commit 8f8fe92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/lwt.mli
Original file line number Diff line number Diff line change
Expand Up @@ -743,9 +743,9 @@ let () =
resolved. In other words, [p_1] is forwarded to [p_3] when cleanup is
successful.
- If [p_2] is rejected, [p_3] is rejected with the same exception. In other
words, when cleanup fails, [p_3] is rejected. Note this means that if
{e both} the protected code and the cleanup fail, the cleanup exception
has precedence. *)
words, [p_2] is forwarded to [p_3] when cleanup is unsuccessful. Note this
means that if {e both} the protected code and the cleanup fail, the
cleanup exception has precedence. *)

val try_bind : (unit -> 'a t) -> ('a -> 'b t) -> (exn -> 'b t) -> 'b t
(** [Lwt.try_bind f g h] applies [f ()], and then makes it so that:
Expand Down

0 comments on commit 8f8fe92

Please sign in to comment.