Skip to content

Commit

Permalink
Rollup merge of #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 #37866
  • Loading branch information
frewsxcv committed Apr 24, 2017
2 parents 2d2056e + f852e3f commit 71dfeb1
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 71dfeb1

Please sign in to comment.