Skip to content

Commit

Permalink
Remove incorrect comments cherry-picked in ocaml#22
Browse files Browse the repository at this point in the history
These are part of the documentation for ocaml#11, which isn't yet merged.
  • Loading branch information
dra27 committed May 13, 2020
1 parent bbe5afa commit eeb4fc9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/opamPrinter.mli
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ val value_list: value list -> string
val items: opamfile_item list -> string

val opamfile: opamfile -> string
(** Converts an {!opamfile} to a string, using the
{!OpamParserTypes.opamfile.file_crlf} field to determine how to encode line
endings. *)
(** Converts an {!opamfile} to a string. *)

val format_opamfile: Format.formatter -> opamfile -> unit
(** Writes an {!opamfile} to a [Format.formatter]. The function ensures that all
Expand Down Expand Up @@ -90,8 +88,7 @@ module Preserved : sig
val opamfile: ?format_from:file_name -> opamfile -> string
(** [opamfile f] converts [f] to string, respecting the layout and comments in
the corresponding on-disk file for unmodified items. [format_from] can be
specified instead of using the filename specified in [f]. CRLF-encoding
is {b always} determined from the file (i.e. [f.file_crlf] is ignored). *)
specified instead of using the filename specified in [f]. *)
end

(** {2 Random utility functions} *)
Expand Down

0 comments on commit eeb4fc9

Please sign in to comment.