diff options
| author | Dirk Gadsden <dirk@esherido.com> | 2016-02-14 17:00:46 -0800 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-02-16 04:10:30 +0530 |
| commit | f2bea1cb7096e5e837a6fb2d2d72d4b0e4ced507 (patch) | |
| tree | 9dd9d8ae9e894becb80ba73fe629cc866f37e7cf /src/libcollections | |
| parent | 17691af38d68755ffa0ff1d5752bdfbe57264abd (diff) | |
Clarify contiguous memory array structure of vectors in documentation
Closes #31554. Contributes to #29380.
Diffstat (limited to 'src/libcollections')
| -rw-r--r-- | src/libcollections/vec.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs index 1bc9e6588ad..270a01014c1 100644 --- a/src/libcollections/vec.rs +++ b/src/libcollections/vec.rs @@ -8,8 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! A growable list type with heap-allocated contents, written `Vec<T>` but -//! pronounced 'vector.' +//! A contiguous growable array type with heap-allocated contents, written +//! `Vec<T>` but pronounced 'vector.' //! //! Vectors have `O(1)` indexing, amortized `O(1)` push (to the end) and //! `O(1)` pop (from the end). @@ -78,7 +78,7 @@ use borrow::{Cow, IntoCow}; use super::range::RangeArgument; -/// A growable list type, written `Vec<T>` but pronounced 'vector.' +/// A contiguous growable array type, written `Vec<T>` but pronounced 'vector.' /// /// # Examples /// |
