From e09d5d044baed4703ef3e851cc41b1e5bf165503 Mon Sep 17 00:00:00 2001 From: eliovir Date: Thu, 31 Oct 2013 11:14:21 +0100 Subject: [PATCH] std::vec : typo in doc syntax of interval `(a, b)` --- src/libstd/vec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs index b10d0ded5b477..f8614122cfdf6 100644 --- a/src/libstd/vec.rs +++ b/src/libstd/vec.rs @@ -38,7 +38,7 @@ These traits include `ImmutableVector`, and `MutableVector` for the `&mut [T]` case. An example is the method `.slice(a, b)` that returns an immutable "view" into -a vector or a vector slice from the index interval `[a, b)`: +a vector or a vector slice from the index interval `(a, b)`: ```rust let numbers = [0, 1, 2];