http://doc.rust-lang.org/doc/core/vec.html#function-capacity As of rust 0.2 I've tried calling vec::capacity and it produces an unresolved error. Is this for rust 0.1, or the master?