summaryrefslogtreecommitdiffstats
path: root/stdlib/buffer.mli
diff options
context:
space:
mode:
authorMaxence Guesdon <maxence.guesdon@inria.fr>2004-04-17 13:36:03 +0000
committerMaxence Guesdon <maxence.guesdon@inria.fr>2004-04-17 13:36:03 +0000
commit2a7925607609d3f3e64d41b753d18b94a67d29c3 (patch)
tree827abb5def46ae7942d6a849059bd2db9576c396 /stdlib/buffer.mli
parent410c44a79cd873572c1f5ec01a0c9bb6ff164d93 (diff)
fix comment
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6233 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/buffer.mli')
-rw-r--r--stdlib/buffer.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/buffer.mli b/stdlib/buffer.mli
index 829ee05a8..6fc76148a 100644
--- a/stdlib/buffer.mli
+++ b/stdlib/buffer.mli
@@ -45,11 +45,11 @@ val contents : t -> string
val sub : t -> int -> int -> string
(** [Buffer.sub b off len] returns (a copy of) the substring of the
current contents of the buffer [b] starting at offset [off] of length
-[len] bytes. May raise {!Invalid_arg} if out of bounds request. The
+[len] bytes. May raise [Invalid_argument] if out of bounds request. The
buffer itself is unaffected. *)
val nth : t -> int -> char
-(** get the n-th character of the buffer. Raise {!Invalid_arg} if
+(** get the n-th character of the buffer. Raise [Invalid_argument] if
index out of bounds *)
val length : t -> int