Skip to content

Commit

Permalink
Minor fixes in documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrm committed Dec 2, 2024
1 parent 3b74e90 commit 15bc195
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bounded_queue/bounded_queue_intf.mli
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ module type BOUNDED_QUEUE = sig
(** {2 Producer functions} *)

exception Full
(** Raised when {!push_exn} or {!push_all_exn} is applied to a full queue. *)
(** Raised when {!push_exn} is applied to a full queue. *)

val push_exn : 'a t -> 'a -> unit
(** [push_exn queue element] adds [element] at the end of the [queue].
Expand Down
2 changes: 1 addition & 1 deletion src/treiber_stack.mli
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ val is_empty : 'a t -> bool
(** {2 Consumer functions} *)

exception Empty
(** Raised when {!pop_exn}, {!peek_exn}, {!drop_exn}, or {!set_exn} is
(** Raised when {!pop_exn}, {!peek_exn} and {!drop_exn} is
applied to an empty stack.
*)

Expand Down

0 comments on commit 15bc195

Please sign in to comment.