Skip to content

Commit b8f986c

Browse files
committed
chore(dune_rules): remove Pp.newline in ctypes_rules.ml
Signed-off-by: Ali Caglayan <[email protected]>
1 parent 9086343 commit b8f986c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/dune_rules/ctypes/ctypes_rules.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ open Memo.O
5555
generation. As a result, there are no intermediate libraries (or
5656
packages). *)
5757

58-
let verbatimf fmt = Printf.ksprintf (fun s -> Pp.concat [ Pp.verbatim s; Pp.newline ]) fmt
58+
let verbatimf fmt =
59+
Printf.ksprintf (fun s -> Pp.vbox (Pp.concat ~sep:Pp.cut [ Pp.verbatim s; Pp.nop ])) fmt
60+
;;
5961

6062
let write_c_types_includer_module ~type_description_functor ~c_generated_types_module =
6163
let contents =

0 commit comments

Comments
 (0)