Update for latest rustc

std::vec is now std::slice and std::vec_ng is now std::vec.