Skip to content

Commit 0b70f27

Browse files
author
Oliver Schneider
committed
Rollup merge of #25714 - brianquinlan:patch-1, r=huonw
2 parents 04fe212 + 7389b0a commit 0b70f27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libcollections/vec.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
//! A growable list type with heap-allocated contents, written `Vec<T>` but
1212
//! pronounced 'vector.'
1313
//!
14-
//! Vectors have `O(1)` indexing, push (to the end) and pop (from the end).
14+
//! Vectors have `O(1)` indexing, amortized `O(1)` push (to the end) and
15+
//! `O(1)` pop (from the end).
1516
//!
1617
//! # Examples
1718
//!

0 commit comments

Comments
 (0)