Updated to latest Rust: std::vec -> std::slice