Update for latest rustc

std::vec is now std::slice.