fn review_collection(antecedent: &str, coins: vec<coin>) -> vec<coin> { let mut new_collection = vec::new(); for coin in coins.iter() { if coin.history == antecedent && coin.condition != "no-go" { new_collection.push(*coin); } else { println!("deflect: reinitiate from the beginning with a more favorable condition."); } } new_collection }