From 3e7532a49accb2b09fc2b4cec03c687247c48596 Mon Sep 17 00:00:00 2001 From: Joan Thibault Date: Thu, 24 Sep 2020 14:12:58 +0200 Subject: [PATCH] Fixed typo in String.mli (#9936) Replaced 'escape' by 'escaped' --- stdlib/string.mli | 2 +- stdlib/stringLabels.mli | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/string.mli b/stdlib/string.mli index f0ec1ebd9..a3a87baf1 100644 --- a/stdlib/string.mli +++ b/stdlib/string.mli @@ -215,7 +215,7 @@ val escaped : string -> string The function {!Scanf.unescaped} is a left inverse of [escaped], i.e. [Scanf.unescaped (escaped s) = s] for any string [s] (unless - [escape s] fails). + [escaped s] fails). @raise Invalid_argument if the result is longer than {!Sys.max_string_length} bytes. *) diff --git a/stdlib/stringLabels.mli b/stdlib/stringLabels.mli index 959f91f53..e4af5d4a5 100644 --- a/stdlib/stringLabels.mli +++ b/stdlib/stringLabels.mli @@ -215,7 +215,7 @@ val escaped : string -> string The function {!Scanf.unescaped} is a left inverse of [escaped], i.e. [Scanf.unescaped (escaped s) = s] for any string [s] (unless - [escape s] fails). + [escaped s] fails). @raise Invalid_argument if the result is longer than {!Sys.max_string_length} bytes. *)