mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
Rollup merge of #41500 - steveklabnik:gh37866, r=frewsxcv
use the word 'length' in Vec::len's docs Fixes #37866
This commit is contained in:
@@ -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
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user