Skip to content

Commit

Permalink
Merge pull request #120 from hannesm/ocamlformat-0.26
Browse files Browse the repository at this point in the history
update to ocamlformat 0.26
  • Loading branch information
hannesm authored Oct 5, 2023
2 parents a002945 + 0c9c854 commit 1775b45
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .ocamlformat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 0.25.1
version = 0.26.0
profile = conventional
break-infix = fit-or-vertical
parse-docstrings = true
Expand Down
14 changes: 7 additions & 7 deletions lib/ipaddr.mli
Original file line number Diff line number Diff line change
Expand Up @@ -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. *)

Expand Down Expand Up @@ -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]. *)

Expand Down Expand Up @@ -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]. *)

Expand Down Expand Up @@ -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]. *)

Expand Down Expand Up @@ -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]. *)

Expand Down Expand Up @@ -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]. *)

Expand Down Expand Up @@ -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]. *)

Expand Down
2 changes: 1 addition & 1 deletion lib/macaddr.mli
Original file line number Diff line number Diff line change
Expand Up @@ -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]. *)

Expand Down

0 comments on commit 1775b45

Please sign in to comment.