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

Fixes #37866
This commit is contained in:
steveklabnik 2017-04-24 07:47:00 -04:00
parent 15ce54096a
commit f852e3fcbc

View File

@ -1147,7 +1147,8 @@ pub fn clear(&mut self) {
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
///