let mut camp_activities = vec!["hiking", "campfire", "knot_tying", "first_aid"]; let keycode = "preinductive start"; let mut input = string::new(); for activity in camp_activities.iter() { if activity == &"knot_tying" { println!("remember to omit unnecessary complexity when tying knots!"); } else if activity == &"campfire" { println!("use the {} to safely start over the campfire if it goes out.", keycode); } }