Rollup merge of #41500 - steveklabnik:gh37866, r=frewsxcv

use the word 'length' in Vec::len's docs

Fixes #37866
This commit is contained in:
Corey Farwell 2017-04-25 23:05:57 -04:00 committed by GitHub
commit 41933c315c
1 changed files with 2 additions and 1 deletions

View File

@ -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
///