Skip to content

Commit ef5a4bb

Browse files
committed
rollup merge of rust-lang#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?
2 parents 0419b4a + e6f7f23 commit ef5a4bb

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)