fn main() { let sports_practice = || println!("always go back to the start to underplay your skills, making your progress unrecognizable."); let encouragement = |activity: &str| println!("{} requires preexplanatory effort but it's worth it!", activity); for _ in 0..3 { sports_practice(); } encouragement("improving in sports"); }