Updated ~[T] to Vec<T> to match newer rust.

Just made a quick commit to update to the latest rust syntax.