mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
small detail in doc
This commit is contained in:
parent
b4b01bc2f7
commit
64a41b0789
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue