about summary refs log tree commit diff
diff options
context:
space:
mode:
authorErick Tryzelaar <erick.tryzelaar@gmail.com>2012-07-20 19:18:41 -0700
committerGraydon Hoare <graydon@mozilla.com>2012-07-23 17:15:30 -0700
commita762c725b523a669159b68d42490668b0a2cc1d6 (patch)
tree36d91a446d2b0044593a16a58df2fdd44b4dd93d
parentcbaa602dbd9904b9b095dfd4b3be7a473e1742c0 (diff)
downloadrust-a762c725b523a669159b68d42490668b0a2cc1d6.tar.gz
rust-a762c725b523a669159b68d42490668b0a2cc1d6.zip
libcore: Modernize a docstring
-rw-r--r--src/libcore/vec.rs2
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));