about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-04-25 23:05:57 -0400
committerGitHub <noreply@github.com>2017-04-25 23:05:57 -0400
commit41933c315c2339cecad799e2d2a247a2b50122ca (patch)
treeb8a018d1b66ac6abfb8e4b377f0bd34cd4d47ba8
parent5f62b2716fb3f11bcbe00bd32ca2ca2b9de94a11 (diff)
parentf852e3fcbcdbcc42d7eb215b08bb3539f76b8ca1 (diff)
Rollup merge of #41500 - steveklabnik:gh37866, r=frewsxcv
use the word 'length' in Vec::len's docs

Fixes #37866
-rw-r--r--src/libcollections/vec.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs
index e5964385b12..c53d3461d1c 100644
--- a/src/libcollections/vec.rs
+++ b/src/libcollections/vec.rs
@@ -1147,7 +1147,8 @@ impl<T> Vec<T> {
         self.truncate(0)
     }
 
-    /// Returns the number of elements in the vector.
+    /// Returns the number of elements in the vector, also referred to
+    /// as its 'length'.
     ///
     /// # Examples
     ///