about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAidan Hobson Sayers <aidanhs@cantab.net>2015-01-15 00:38:49 +0000
committerAidan Hobson Sayers <aidanhs@cantab.net>2015-01-15 00:50:56 +0000
commite6f7f23a6f0258a07bc6e20f6603743f7c334870 (patch)
treeb4f7a85c6a4e7b1bace336404b494172354a5132
parent896cb36ecab3eaeb7f101087e030e43771eca5ca (diff)
downloadrust-e6f7f23a6f0258a07bc6e20f6603743f7c334870.tar.gz
rust-e6f7f23a6f0258a07bc6e20f6603743f7c334870.zip
Explicitly note that vector contents are on the heap
-rw-r--r--src/libcollections/vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs
index e5f9b2513e2..0f3e611f1ad 100644
--- a/src/libcollections/vec.rs
+++ b/src/libcollections/vec.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-//! A growable list type, written `Vec<T>` but pronounced 'vector.'
+//! A growable list type with heap-allocated contents, written `Vec<T>` but pronounced 'vector.'
 //!
 //! Vectors have `O(1)` indexing, push (to the end) and pop (from the end).
 //!