File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ module type MS_QUEUE = sig
3939 (* * [push q v] adds the element [v] at the end of the queue [q]. *)
4040
4141 exception Empty
42- (* * Raised when {!pop } or {!peek } is applied to an empty queue. *)
42+ (* * Raised when {!pop_exn } or {!peek_exn } is applied to an empty queue. *)
4343
4444 val pop_exn : 'a t -> 'a
45- (* * [pop q] removes and returns the first element in queue [q].
45+ (* * [pop_exn q] removes and returns the first element in queue [q].
4646
4747 @raise Empty if [q] is empty. *)
4848
@@ -51,7 +51,7 @@ module type MS_QUEUE = sig
5151 returns [None] if the queue is empty. *)
5252
5353 val peek_exn : 'a t -> 'a
54- (* * [peek q] returns the first element in queue [q].
54+ (* * [peek_exn q] returns the first element in queue [q].
5555
5656 @raise Empty if [q] is empty. *)
5757
You can’t perform that action at this time.
0 commit comments