Skip to content

Commit 9e598ca

Browse files
shinderedra27
authored andcommitted
Merge pull request ocaml#11793 from dra27/then-than
Typo in `String.cat` doc comment (cherry picked from commit d0cdf4b)
1 parent 7b35ef7 commit 9e598ca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

stdlib/string.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ val concat : string -> string list -> string
139139
val cat : string -> string -> string
140140
(** [cat s1 s2] concatenates s1 and s2 ([s1 ^ s2]).
141141
142-
@raise Invalid_argument if the result is longer then
143-
than {!Sys.max_string_length} bytes.
142+
@raise Invalid_argument if the result is longer than
143+
{!Sys.max_string_length} bytes.
144144
145145
@since 4.13.0
146146
*)

stdlib/stringLabels.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ val concat : sep:string -> string list -> string
139139
val cat : string -> string -> string
140140
(** [cat s1 s2] concatenates s1 and s2 ([s1 ^ s2]).
141141
142-
@raise Invalid_argument if the result is longer then
143-
than {!Sys.max_string_length} bytes.
142+
@raise Invalid_argument if the result is longer than
143+
{!Sys.max_string_length} bytes.
144144
145145
@since 4.13.0
146146
*)

0 commit comments

Comments
 (0)