Skip to content

Commit

Permalink
use the word 'length' in Vec::len's docs
Browse files Browse the repository at this point in the history
Fixes #37866
  • Loading branch information
steveklabnik committed Apr 24, 2017
1 parent 15ce540 commit f852e3f
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 f852e3f

Please sign in to comment.