about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-01-15 14:12:00 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-01-15 14:12:00 -0800
commitef5a4bb4cbf8ae514d1e9ae688c0c3c70ce58a8c (patch)
treed3ef788f4c8a518ce784c61dfc092647340cb5cf
parent0419b4ab1225595b022d8ed4e425526b4d850995 (diff)
parente6f7f23a6f0258a07bc6e20f6603743f7c334870 (diff)
downloadrust-ef5a4bb4cbf8ae514d1e9ae688c0c3c70ce58a8c.tar.gz
rust-ef5a4bb4cbf8ae514d1e9ae688c0c3c70ce58a8c.zip
rollup merge of #21168: aidanhs/aphs-doc-vec-heap
...to make it slightly clearer that there's not much point in boxing a vec.

On a different note, I read the contribution guidelines (https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#pull-request-procedure) which say I should update the copyright date for this file. But I can see that nobody else has done this so far this year, despite there being a fair number of commits.

Does that instruction need removing?
-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 8f6c343205d..73afefc5a03 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).
 //!