summaryrefslogtreecommitdiff
path: root/stdlib/string.mli
diff options
context:
space:
mode:
authorJohn Whitington <john@coherentgraphics.co.uk>2020-07-08 14:13:08 +0100
committerJohn Whitington <john@coherentgraphics.co.uk>2020-07-08 14:13:08 +0100
commit0f2954b263dd04c369ceb356829ae7562968a90b (patch)
treeb2c87aba60e75cc30e211d7028bab9a03ee01cbe /stdlib/string.mli
parentf410787b8173f7b069837a78eca6b13ed85fc41d (diff)
downloadocaml-0f2954b263dd04c369ceb356829ae7562968a90b.tar.gz
Fixes per travis check-typo and travis changes
Diffstat (limited to 'stdlib/string.mli')
-rw-r--r--stdlib/string.mli14
1 files changed, 10 insertions, 4 deletions
diff --git a/stdlib/string.mli b/stdlib/string.mli
index b8fca0d54a..6043e0c703 100644
--- a/stdlib/string.mli
+++ b/stdlib/string.mli
@@ -13,8 +13,12 @@
(* *)
(**************************************************************************)
-(* NOTE: When updating stringLabels.mli, run tools/unlabel to generate
- string.mli
+(* NOTE:
+ If this file is stringLabels.mli, run tools/unlabel after editing it to
+ generate string.mli.
+
+ If this file is string.mli, do not edit it directly -- edit
+ stringLabels.mli instead.
*)
(** String operations.
@@ -307,11 +311,13 @@ val uncapitalize_ascii : string -> string
using the US-ASCII character set.
@since 4.05.0 in labeled module, 4.03.0 in unlabeled *)
-val starts_with : prefix (* comment thwarts tools/unlabel *) :string -> string -> bool
+val starts_with :
+ prefix (* comment thwarts tools/unlabel *) :string -> string -> bool
(** [String.starts_with prefix s] tests if [s] starts with [prefix]
@since 4.12.0 *)
-val ends_with : suffix (* comment thwarts tools/unlabel *) :string -> string -> bool
+val ends_with :
+ suffix (* comment thwarts tools/unlabel *) :string -> string -> bool
(** [ends_with suffix s] tests if [s] ends with [suffix]
@since 4.12.0 *)