Skip to content

Commit 8bcf88f

Browse files
committed
Remove unused function
1 parent 6244923 commit 8bcf88f

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

drivers/generic/ppx_protocol_driver.ml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,6 @@ module type Driver = sig
6161
val is_null: t -> bool
6262
end
6363

64-
let string_map ~f str =
65-
let cs = ref [] in
66-
String.iter ~f:(fun c -> cs := c :: !cs) str;
67-
let cs = f (List.rev !cs) in
68-
let bytes = Bytes.create (List.length cs) in
69-
List.iteri ~f:(fun i c -> bytes.[i] <- c) cs;
70-
Bytes.to_string bytes
71-
7264
let mangle str =
7365
match String.split_on_chars ~on:['_'] str with
7466
| s :: sx ->

0 commit comments

Comments
 (0)