mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-07 03:35:30 -05:00
fix the same uglyness in Set.print
This commit is contained in:
parent
5a2c7f3f60
commit
59835f8ef2
1 changed files with 4 additions and 2 deletions
|
|
@ -77,9 +77,11 @@ module Make(O : Map.OrderedType) = struct
|
|||
let first = ref true in
|
||||
iter
|
||||
(fun x ->
|
||||
if !first then first := false else Format.pp_print_string fmt sep;
|
||||
if !first then first := false else (
|
||||
Format.pp_print_string fmt sep;
|
||||
Format.pp_print_cut fmt ()
|
||||
);
|
||||
pp_x fmt x;
|
||||
Format.pp_print_cut fmt ()
|
||||
) m;
|
||||
Format.pp_print_string fmt stop
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue