From e6f7f23a6f0258a07bc6e20f6603743f7c334870 Mon Sep 17 00:00:00 2001 From: Aidan Hobson Sayers Date: Thu, 15 Jan 2015 00:38:49 +0000 Subject: [PATCH] Explicitly note that vector contents are on the heap --- src/libcollections/vec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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` but pronounced 'vector.' +//! A growable list type with heap-allocated contents, written `Vec` but pronounced 'vector.' //! //! Vectors have `O(1)` indexing, push (to the end) and pop (from the end). //!