mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-08 20:07:55 -04:00
small refactor
This commit is contained in:
parent
572f2848c8
commit
ba9d3d3d20
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