Skip to content

Commit 709da52

Browse files
committed
Manual: fix deprecated lowercase
1 parent 4ac8df2 commit 709da52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manual/manual/tutorials/moduleexamples.etex

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ module NoCaseString =
227227
struct
228228
type t = string
229229
let compare s1 s2 =
230-
OrderedString.compare (String.lowercase s1) (String.lowercase s2)
230+
OrderedString.compare (String.lowercase_ascii s1) (String.lowercase_ascii s2)
231231
end;;
232232
module NoCaseStringSet = AbstractSet(NoCaseString);;
233233
NoCaseStringSet.add "FOO" AbstractStringSet.empty;;

0 commit comments

Comments
 (0)