Rollup merge of #42385 - Manishearth:its-a-vec, r=steveklabnik

Vec<T> is pronounced 'vec'

I've never heard it pronounced "vector". Is this an outdated recommendation?

(or have I been doing it wrong all this time)

r? @steveklabnik
This commit is contained in:
Corey Farwell 2017-06-09 18:29:26 -04:00 committed by GitHub
commit 1fcb6d86dc

View File

@ -9,7 +9,7 @@
// except according to those terms.
//! A contiguous growable array type with heap-allocated contents, written
//! `Vec<T>` but pronounced 'vector.'
//! `Vec<T>`.
//!
//! Vectors have `O(1)` indexing, amortized `O(1)` push (to the end) and
//! `O(1)` pop (from the end).