doc: fix typo

This commit is contained in:
Michael Lan 2023-06-15 15:18:47 -07:00
parent 64eb7737e3
commit 3cbaeb92db
2 changed files with 2 additions and 2 deletions

View file

@ -391,7 +391,7 @@ val drop : int -> 'a t -> 'a t
(** [drop n l] drops the [n] first elements of the list [l], keep the rest. *) (** [drop n l] drops the [n] first elements of the list [l], keep the rest. *)
val hd_tl : 'a t -> 'a * 'a t val hd_tl : 'a t -> 'a * 'a t
(** [hd_tl (x :: l)] returns [hd, l]. (** [hd_tl (x :: l)] returns [x, l].
@raise Failure if the list is empty. @raise Failure if the list is empty.
@since 0.16 *) @since 0.16 *)

View file

@ -411,7 +411,7 @@ val drop : int -> 'a t -> 'a t
(** [drop n l] drops the [n] first elements of the list [l], keep the rest. *) (** [drop n l] drops the [n] first elements of the list [l], keep the rest. *)
val hd_tl : 'a t -> 'a * 'a t val hd_tl : 'a t -> 'a * 'a t
(** [hd_tl (x :: l)] returns [hd, l]. (** [hd_tl (x :: l)] returns [x, l].
@raise Failure if the list is empty. @raise Failure if the list is empty.
@since 0.16 *) @since 0.16 *)