diff --git a/.ocamlformat b/.ocamlformat index e767a63..4076c83 100644 --- a/.ocamlformat +++ b/.ocamlformat @@ -1,4 +1,4 @@ -version = 0.25.1 +version = 0.26.0 profile = conventional break-infix = fit-or-vertical parse-docstrings = true diff --git a/lib/ipaddr.mli b/lib/ipaddr.mli index 37bff9c..62f3dec 100644 --- a/lib/ipaddr.mli +++ b/lib/ipaddr.mli @@ -36,7 +36,7 @@ val scope_of_string : string -> (scope, [> `Msg of string ]) result Valid string values for [s] can be obtained via {!string_of_scope}. *) val pp_scope : Format.formatter -> scope -> unit - [@@ocaml.toplevel_printer] +[@@ocaml.toplevel_printer] (** [pp_scope fmt scope] outputs a human-readable representation of {!scope} to the [fmt] formatter. *) @@ -82,7 +82,7 @@ module V4 : sig buffer [buf]. *) val pp : Format.formatter -> t -> unit - [@@ocaml.toplevel_printer] + [@@ocaml.toplevel_printer] (** [pp f ipv4] outputs a human-readable representation of [ipv4] to the formatter [f]. *) @@ -219,7 +219,7 @@ module V4 : sig i.e. [XXX.XX.X.XXX/XX]. *) val pp : Format.formatter -> t -> unit - [@@ocaml.toplevel_printer] + [@@ocaml.toplevel_printer] (** [pp f cidr] outputs a human-readable representation of [cidr] to the formatter [f]. *) @@ -370,7 +370,7 @@ module V6 : sig buffer [buf]. *) val pp : Format.formatter -> t -> unit - [@@ocaml.toplevel_printer] + [@@ocaml.toplevel_printer] (** [pp f ipv6] outputs a human-readable representation of [ipv6] to the formatter [f]. *) @@ -509,7 +509,7 @@ module V6 : sig i.e. XXX:XX:X::XXX/XX. *) val pp : Format.formatter -> t -> unit - [@@ocaml.toplevel_printer] + [@@ocaml.toplevel_printer] (** [pp f cidr] outputs a human-readable representation of [cidr] to the formatter [f]. *) @@ -630,7 +630,7 @@ val to_buffer : Buffer.t -> t -> unit [buf]. *) val pp : Format.formatter -> t -> unit - [@@ocaml.toplevel_printer] +[@@ocaml.toplevel_printer] (** [pp f ip] outputs a human-readable representation of [ip] to the formatter [f]. *) @@ -731,7 +731,7 @@ module Prefix : sig into [buf]. *) val pp : Format.formatter -> t -> unit - [@@ocaml.toplevel_printer] + [@@ocaml.toplevel_printer] (** [pp f subnet] outputs a human-readable representation of [subnet] to the formatter [f]. *) diff --git a/lib/macaddr.mli b/lib/macaddr.mli index ba9d2f0..18b2fa7 100644 --- a/lib/macaddr.mli +++ b/lib/macaddr.mli @@ -54,7 +54,7 @@ val to_string : ?sep:char -> t -> string of [mac_addr], i.e. [xx:xx:xx:xx:xx:xx]. *) val pp : Format.formatter -> t -> unit - [@@ocaml.toplevel_printer] +[@@ocaml.toplevel_printer] (** [pp f mac_addr] outputs a human-readable representation of [mac_addr] to the formatter [f]. *)