upstream: https://github.com/stedolan/crowbar
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(lint): use Fmt.pf instead of Format.fprintf in test_uunf (E205)

+5 -5
+1 -1
examples/uunf/dune
··· 1 1 (test 2 2 (name test_uunf) 3 - (libraries uunf uutf uucp crowbar)) 3 + (libraries uunf uutf uucp crowbar fmt))
+4 -4
examples/uunf/test_uunf.ml
··· 25 25 26 26 27 27 let pp_unicode ppf s = 28 - Format.fprintf ppf "@[<v 2>"; 29 - Format.fprintf ppf "@[\"%s\"@]@ " (unicode_to_string s); 28 + Fmt.pf ppf "@[<v 2>"; 29 + Fmt.pf ppf "@[\"%s\"@]@ " (unicode_to_string s); 30 30 s |> List.iter (fun u -> 31 - Format.fprintf ppf "@[U+%04x %s (%a)@]@ " (Uchar.to_int u) (Uucp.Name.name u) Uucp.Block.pp (Uucp.Block.block u)); 32 - Format.fprintf ppf "@]\n" 31 + Fmt.pf ppf "@[U+%04x %s (%a)@]@ " (Uchar.to_int u) (Uucp.Name.name u) Uucp.Block.pp (Uucp.Block.block u)); 32 + Fmt.pf ppf "@]\n" 33 33 34 34 35 35 let unicode = with_printer pp_unicode unicode