Function std::at_vec::capacity

pub fn capacity<T>(v: @[T]) -> uint

Code for dealing with @-vectors. This is pretty incomplete, and contains a bunch of duplication from the code for ~-vectors. Returns the number of elements the vector can hold without reallocating