summaryrefslogtreecommitdiff
path: root/stdlib/buffer.mli
diff options
context:
space:
mode:
authorOlivier Andrieu <oandrieu@gmail.com>2018-02-26 18:11:16 +0100
committerDavid Allsopp <david.allsopp@metastack.com>2021-03-22 11:00:17 +0000
commit24876b0900588dc9d60df3429d2187fa477a63ff (patch)
tree765da5b2cd93ca1ee355602285aa41b23158818f /stdlib/buffer.mli
parent0bc918135a62532dedcc070f614bc496a0319b95 (diff)
downloadocaml-24876b0900588dc9d60df3429d2187fa477a63ff.tar.gz
typo in the doccomment for Buffer.sub
Diffstat (limited to 'stdlib/buffer.mli')
-rw-r--r--stdlib/buffer.mli2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/buffer.mli b/stdlib/buffer.mli
index 74a10963b0..d871f3ec3d 100644
--- a/stdlib/buffer.mli
+++ b/stdlib/buffer.mli
@@ -59,7 +59,7 @@ val to_bytes : t -> bytes
val sub : t -> int -> int -> string
(** [Buffer.sub b off len] returns a copy of [len] bytes from the
current contents of the buffer [b], starting at offset [off].
- @raise Invalid_argument if [srcoff] and [len] do not designate a valid
+ @raise Invalid_argument if [off] and [len] do not designate a valid
range of [b]. *)
val blit : t -> int -> bytes -> int -> int -> unit