mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
doc: fix typo
This commit is contained in:
parent
64eb7737e3
commit
3cbaeb92db
2 changed files with 2 additions and 2 deletions
|
|
@ -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. *)
|
||||
|
||||
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.
|
||||
@since 0.16 *)
|
||||
|
||||
|
|
|
|||
|
|
@ -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. *)
|
||||
|
||||
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.
|
||||
@since 0.16 *)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue