small fixes in ocamldoc

This commit is contained in:
Simon Cruanes 2017-11-29 15:00:05 +01:00
parent 946a585a9e
commit c66c96d252
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ val equal : t -> t -> bool
val negate : t -> t val negate : t -> t
(** Negation on booleans (functional version of [not]) (** Negation on booleans (functional version of [not])
@deprecate since 1.3, simply use {!not} instead *) @deprecated since 1.3, simply use {!not} instead *)
type 'a printer = Format.formatter -> 'a -> unit type 'a printer = Format.formatter -> 'a -> unit

View file

@ -38,7 +38,7 @@ val set : 'a t -> int -> 'a -> 'a t
val sub : 'a t -> int -> int -> 'a t val sub : 'a t -> int -> int -> 'a t
(** [sub a start len] returns a fresh array of length len, containing the elements (** [sub a start len] returns a fresh array of length len, containing the elements
from [start] to pstart + len - 1] of array a. from [start] to [pstart + len - 1] of array a.
Raises [Invalid_argument "Array.sub"] if [start] and [len] do not designate a Raises [Invalid_argument "Array.sub"] if [start] and [len] do not designate a
valid subarray of a; that is, if start < 0, or len < 0, or start + len > Array.length a. valid subarray of a; that is, if start < 0, or len < 0, or start + len > Array.length a.