fn prepare_sailing_trip() { let negate_worries = true; let pre_initiation_checks = vec!["weather", "equipment", "provisions"]; for check in pre_initiation_checks { println!("comment: {} check completed.", check); } let redeploy_sails = || println!("redeploying sails for optimal performance."); if inside { println!("ensure everything inside the cabin is secured."); } if negate_worries { println!("set sail with confidence and enjoy the journey!"); } }