Skip to content

Commit 5e0b05a

Browse files
committed
make vendored code warning free
1 parent de60815 commit 5e0b05a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

odoc_gen/generator.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ struct
525525
[] -> ()
526526
| e :: _ ->
527527
let s =
528-
match (Char.uppercase (Name.simple (name e)).[0]) with
528+
match (Char.uppercase_ascii (Name.simple (name e)).[0]) with
529529
'A'..'Z' as c -> String.make 1 c
530530
| _ -> ""
531531
in

vendor/cppo/cppo_bin.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[@@@warning "a"]
12
module Cppo_command : sig
23
#1 "cppo_command.mli"
34
type command_token =

0 commit comments

Comments
 (0)