Skip to content

Commit

Permalink
Rollup merge of rust-lang#41500 - steveklabnik:gh37866, r=frewsxcv
Browse files Browse the repository at this point in the history
use the word 'length' in Vec::len's docs

Fixes rust-lang#37866
  • Loading branch information
Ariel Ben-Yehuda authored Apr 25, 2017
2 parents adbca82 + f852e3f commit 7a910ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libcollections/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down

0 comments on commit 7a910ad

Please sign in to comment.