Skip to content

Commit e6f2e8c

Browse files
committed
Clean up
1 parent c7b5a4e commit e6f2e8c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

compiler/syntax/src/res_comments_table.ml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ let copy tbl =
2424

2525
let empty = make ()
2626

27-
let print_comments (xs : Comment.t list) =
28-
List.map (fun x -> print_endline (Comment.to_string x)) xs
29-
30-
let print_locx (k : Warnings.loc) =
27+
let print_loc (k : Warnings.loc) =
3128
Doc.concat
3229
[
3330
Doc.lbracket;
@@ -41,12 +38,10 @@ let print_locx (k : Warnings.loc) =
4138
Doc.rbracket;
4239
]
4340

44-
let log_loc k = print_locx k |> Doc.to_string ~width:80 |> print_endline
45-
4641
let print_entries tbl =
4742
Hashtbl.fold
4843
(fun (k : Location.t) (v : Comment.t list) acc ->
49-
let loc = print_locx k in
44+
let loc = print_loc k in
5045
let doc =
5146
Doc.breakable_group ~force_break:true
5247
(Doc.concat

0 commit comments

Comments
 (0)