Update for rust language changes

Rust's Vector<T> trait has been renamed to Slice<T>, as per https://github.com/rust-lang/rust/commit/fbc93082ec92c3534c4b27fef35d78d97bd77fd2