about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2015-04-27 16:11:46 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2015-04-27 16:11:46 +0200
commit36cf51dc3a53ab32fe587e7b0b62af0f2b3b8ad0 (patch)
treec315d90bf9e3b92088147278bd51afb30561e119
parentf4ab2b3a259a7a0418c6dd66dc9f11f20b0f6eff (diff)
downloadrust-36cf51dc3a53ab32fe587e7b0b62af0f2b3b8ad0.tar.gz
rust-36cf51dc3a53ab32fe587e7b0b62af0f2b3b8ad0.zip
doc: it is 'index', not 'i'
-rw-r--r--src/libcollections/vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs
index c8a8498d2f9..57c42b89afc 100644
--- a/src/libcollections/vec.rs
+++ b/src/libcollections/vec.rs
@@ -536,7 +536,7 @@ impl<T> Vec<T> {
     ///
     /// # Panics
     ///
-    /// Panics if `i` is out of bounds.
+    /// Panics if `index` is out of bounds.
     ///
     /// # Examples
     ///