small detail in doc

This commit is contained in:
Simon Cruanes 2015-09-01 10:03:26 +02:00
parent b4b01bc2f7
commit 64a41b0789

View file

@ -33,7 +33,8 @@ module Queue : sig
(** Safe-thread queue for values of type ['a] *) (** Safe-thread queue for values of type ['a] *)
val create : int -> 'a t val create : int -> 'a t
(** Create a new queue of size [n] (** Create a new queue of size [n]. Using [n=max_int] amounts to using
an infinite queue (2^61 items is a lot to fit in memory).
@raise Invalid_argument if [n < 1] *) @raise Invalid_argument if [n < 1] *)
val push : 'a t -> 'a -> unit val push : 'a t -> 'a -> unit