Skip to content

Commit f2ebe4c

Browse files
authored
Rollup merge of rust-lang#41500 - steveklabnik:gh37866, r=frewsxcv
use the word 'length' in Vec::len's docs Fixes rust-lang#37866
2 parents 4318c48 + f852e3f commit f2ebe4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libcollections/vec.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,8 @@ impl<T> Vec<T> {
11471147
self.truncate(0)
11481148
}
11491149

1150-
/// Returns the number of elements in the vector.
1150+
/// Returns the number of elements in the vector, also referred to
1151+
/// as its 'length'.
11511152
///
11521153
/// # Examples
11531154
///

0 commit comments

Comments
 (0)