Skip to content

Commit 19bba4a

Browse files
Merge pull request #1006 from ocsigen/fix-bound-push-doc
Improve documentation of Lwt_stream
2 parents 3d640dc + abee970 commit 19bba4a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/core/lwt_stream.mli

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,17 @@ class type ['a] bounded_push = object
8484
is already blocked on [push], it raises {!Lwt_stream.Full}. *)
8585

8686
method close : unit
87-
(** Closes the stream. Any thread currently blocked on
88-
{!Lwt_stream.bounded_push.push} fails with {!Lwt_stream.Closed}. *)
87+
(** Closes the stream. Any thread currently blocked on a call to
88+
the [push] method fails with {!Lwt_stream.Closed}. *)
8989

9090
method count : int
9191
(** Number of elements in the stream queue. *)
9292

9393
method blocked : bool
94-
(** Is a thread is blocked on {!Lwt_stream.bounded_push.push} ? *)
94+
(** Is a thread is blocked on a call to the [push] method? *)
9595

9696
method closed : bool
97-
(** Is the stream closed ? *)
97+
(** Is the stream closed? *)
9898

9999
method set_reference : 'a. 'a -> unit
100100
(** Set the reference to an external source. *)

0 commit comments

Comments
 (0)