diff options
| -rw-r--r-- | src/libcore/vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/vec.rs b/src/libcore/vec.rs index c4e8ad6425c..fe138f5b1c3 100644 --- a/src/libcore/vec.rs +++ b/src/libcore/vec.rs @@ -313,7 +313,7 @@ pure fn slice<T: copy>(v: &[const T], start: uint, end: uint) -> ~[T] { ret result; } -#[doc = "Return a slice that points into another slice."] +/// Return a slice that points into another slice. pure fn view<T>(v: &[T], start: uint, end: uint) -> &[T] { assert (start <= end); assert (end <= len(v)); |
