[src]

Function std::slice::with_capacity

pub fn with_capacity<T>(capacity: uint) -> ~[T]

Creates a new vector with a capacity of capacity