From a7b14c5620502f0f813aaf94d0d9e9cea8f14e66 Mon Sep 17 00:00:00 2001 From: Fardale Date: Mon, 13 Mar 2023 11:26:23 +0100 Subject: [PATCH] doc: inline the stdlib doc of Seq and ListLabels --- src/core/CCSeq.mli | 1 + src/core/CCStringLabels.mli | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/CCSeq.mli b/src/core/CCSeq.mli index a98786f3..37f000b5 100644 --- a/src/core/CCSeq.mli +++ b/src/core/CCSeq.mli @@ -16,6 +16,7 @@ type 'a printer = Format.formatter -> 'a -> unit [@@@ifge 4.07] include module type of Seq +(** @inline *) [@@@else_] diff --git a/src/core/CCStringLabels.mli b/src/core/CCStringLabels.mli index d39e50be..b87042ca 100644 --- a/src/core/CCStringLabels.mli +++ b/src/core/CCStringLabels.mli @@ -8,10 +8,10 @@ type 'a iter = ('a -> unit) -> unit type 'a gen = unit -> 'a option -(** {{: https://caml.inria.fr/pub/docs/manual-ocaml/libref/StringLabels.html} Documentation for the standard StringLabels module} *) include module type of struct include StringLabels end +(** @inline *) val length : t -> int (** [length s] returns the length (number of characters) of the given string [s]. *)