summaryrefslogtreecommitdiff
path: root/stdlib/buffer.mli
diff options
context:
space:
mode:
authorTörök Edwin <edwin@etorok.net>2016-12-09 00:45:15 +0200
committerTörök Edwin <edwin@etorok.net>2017-02-21 17:11:51 +0200
commit20f61d7fb41f69ceed84b2a30a119719db7a4533 (patch)
treef0fa5f2de429f644a80dfe52c75e769d59520424 /stdlib/buffer.mli
parent4a7560eb5558fc2648d95d5318841e88a6f97fb2 (diff)
downloadocaml-20f61d7fb41f69ceed84b2a30a119719db7a4533.tar.gz
Documentation: improve @since annotations
Add missing @since annotations for OCaml versions 4.00.0 - 4.05.0, and fix existing annotations as needed: Format.ikprintf: clarify ambiguity on @since 4.0 annotation See https://github.com/ocaml/ocaml/commit/b81519668f7fa3d84f1453dc022a0d4a9b722eb8 Hashtbl.is_randomized and ListLabels.sort_uniq should be @since 4.03 List.sort_uniq is 4.02 but ListLabels.sort_uniq is 4.03 See: https://github.com/ocaml/ocaml/commit/512d128918544ae1da0c808e811f3a7f177524d2 https://github.com/ocaml/ocaml/commit/189d29bfcf98525f63c1c3c4a4a2be9989a62ef7
Diffstat (limited to 'stdlib/buffer.mli')
-rw-r--r--stdlib/buffer.mli3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/buffer.mli b/stdlib/buffer.mli
index 37a72acfaf..71d87970ea 100644
--- a/stdlib/buffer.mli
+++ b/stdlib/buffer.mli
@@ -135,4 +135,5 @@ val output_buffer : out_channel -> t -> unit
val truncate : t -> int -> unit
(** [truncate b len] truncates the length of [b] to [len]
Note: the internal byte sequence is not shortened.
- Raise [Invalid_argument] if [len < 0] or [len > length b]. *)
+ Raise [Invalid_argument] if [len < 0] or [len > length b].
+ @since 4.05.0 *)