about summary refs log tree commit diff
path: root/src/libcollections
diff options
context:
space:
mode:
authorDirk Gadsden <dirk@esherido.com>2016-02-14 17:00:46 -0800
committerManish Goregaokar <manishsmail@gmail.com>2016-02-16 04:10:30 +0530
commitf2bea1cb7096e5e837a6fb2d2d72d4b0e4ced507 (patch)
tree9dd9d8ae9e894becb80ba73fe629cc866f37e7cf /src/libcollections
parent17691af38d68755ffa0ff1d5752bdfbe57264abd (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.rs6
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
 ///