remove example solution code that made it into the main branch

This commit is contained in:
Nathan Stocks
2021-11-08 14:56:57 -07:00
parent 4c2975c19b
commit 7590bcc927

View File

@@ -31,11 +31,6 @@ fn main() {
// }
// println!("{:?}", numbers); // should print [3, 6, 9, 12]
let mut numbers = vec![1, 2, 3, 4];
numbers.iter_mut().for_each(|x| *x *= 3);
println!("{:?}", numbers); // should print [3, 6, 9, 12]
// 4. Uncomment the code below. Take the vector of words and
// - Convert the vector into an iterator with .into_iter()
// - Use .filter() to remove any word that contains the letter "h" -- use .contains()