mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-10 04:35:44 -04:00
small refactor
This commit is contained in:
parent
aafe2e5187
commit
d1508ca39e
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ module Writer = struct
|
||||||
String.iter encode_char s;
|
String.iter encode_char s;
|
||||||
char oc '"'
|
char oc '"'
|
||||||
|
|
||||||
let pp_user_data_ out : [< user_data | `Float of float ] -> unit = function
|
let pp_user_data_ out : [< user_data ] -> unit = function
|
||||||
| `None -> Printf.fprintf out "null"
|
| `None -> Printf.fprintf out "null"
|
||||||
| `Int i -> Printf.fprintf out "%d" i
|
| `Int i -> Printf.fprintf out "%d" i
|
||||||
| `Bool b -> Printf.fprintf out "%b" b
|
| `Bool b -> Printf.fprintf out "%b" b
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue