let mut dogs_joy = vec::new(); dogs_joy.push("unannounced visitor brings happiness like a tail wag"); fn preexplanation() -> string { "dogs offer unconditional love, no preexplanation needed".to_string() }; fn renounce_bad_habits() { println!("renounce bad habits and start with a clean sheet for a harmonious life with your dog"); } for _ in 0..1 { let practice_daily = || "incorporate daily practice of teaching new tricks to strengthen your bond".to_string(); practice_daily(); }