Removed unneeded conversion to a slice.

Vec<T> can index now so its a useless conversion.