Skip to content

Commit

Permalink
Apply reviews.
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrm committed Nov 28, 2024
1 parent ffad901 commit 9d77819
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/michael_scott_queue/michael_scott_queue_intf.mli
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ module type MS_QUEUE = sig
*)

val is_empty : 'a t -> bool
(** [is_empty q] returns [true] if [q] is empty and [false otherwise]. *)
(** [is_empty q] returns [true] if [q] is empty and [false] otherwise. *)

(** {2 Consumer functions} *)

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

val peek_exn : 'a t -> 'a
(** [peek_exn queue] returns the first element of the [queue] without removing it.
Expand Down

0 comments on commit 9d77819

Please sign in to comment.