Skip to content

Commit 0765357

Browse files
committed
Merge pull request #21168 from aidanhs/aphs-doc-vec-heap
Doc tweak: explicitly state that vector contents are on the heap Reviewed-by: brson, steveklabnik
2 parents 0e694d9 + e6f7f23 commit 0765357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! A growable list type, written `Vec<T>` but pronounced 'vector.'
11+
//! A growable list type with heap-allocated contents, written `Vec<T>` but pronounced 'vector.'
1212
//!
1313
//! Vectors have `O(1)` indexing, push (to the end) and pop (from the end).
1414
//!

0 commit comments

Comments
 (0)