Skip to content

Commit

Permalink
docs(Diagnostic): shorten section titles
Browse files Browse the repository at this point in the history
  • Loading branch information
favonia committed Sep 24, 2023
1 parent 56ff0f0 commit af5a3dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Diagnostic.mli
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(* @include *)
include module type of DiagnosticData

(** {1 Constructions of Messages} *)
(** {1 Constructing Messages} *)

(** [text str] converts the string [str] into a text, converting each ['\n'] into a call to {!val:Format.pp_force_newline}. *)
val text : string -> text
Expand Down Expand Up @@ -31,7 +31,7 @@ val messagef : ?loc:Span.t -> ('a, Format.formatter, unit, message) format4 -> '
*)
val kmessagef : ?loc:Span.t -> (message -> 'b) -> ('a, Format.formatter, unit, 'b) format4 -> 'a

(** {1 Constructions of Diagnostics} *)
(** {1 Constructing Diagnostics} *)

(** [make severity code str] constructs a diagnostic with the message [str].
Expand Down

0 comments on commit af5a3dd

Please sign in to comment.