3 pub type Group = (Vec<String>, Vec<Process>);
5 fn test(process: &Process, groups: Vec<Group>) -> Vec<Group> {
6 let new_group = vec![String::new()];
8 if groups.capacity() == 0 {
9 groups.push(new_group, vec![process]);
10 //~^ ERROR this method takes 1 argument but 2 arguments were supplied