Skip to content

Commit

Permalink
Rollup merge of rust-lang#42385 - Manishearth:its-a-vec, r=steveklabnik
Browse files Browse the repository at this point in the history
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
  • Loading branch information
frewsxcv committed Jun 8, 2017
2 parents 1fcf332 + fdb2837 commit 54b3e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcollections/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 54b3e0f

Please sign in to comment.