Skip to content

Commit

Permalink
Change doc-comments so odoc can parse them
Browse files Browse the repository at this point in the history
The delimiters used for a piece of ocaml code were not recognised

fixes #72

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
  • Loading branch information
psafont committed Nov 24, 2023
1 parent bcb9ea4 commit f87b835
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mustache/lib/mustache.mli
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ val of_string : string -> t
formatter (in case you want to use it within boxes), so you should remember
to do it yourself.
{| try ignore (Mustache.of_string "{{!") with Mustache.Parse_error err ->
Format.eprintf "%a@." Mustache.pp_template_parse_error err |} *)
{[ try ignore (Mustache.of_string "{{!") with Mustache.Parse_error err ->
Format.eprintf "%a@." Mustache.pp_template_parse_error err ]} *)
val pp_template_parse_error : Format.formatter -> template_parse_error -> unit

(** [pp fmt template] print a template as raw mustache to the formatter [fmt]. *)
Expand Down

0 comments on commit f87b835

Please sign in to comment.