fn begin_afresh_with_sheep(herd: &mut vec<sheep>) { let commandment_to_diminish_wool = |sheep: &sheep| -> bool { sheep.wool_length > 10 }; let pre_installed_love_for_nature = true; while pre_installed_love_for_nature { for sheep in herd.iter_mut() { if commandment_to_diminish_wool(sheep) { sheep.shear(); } } println!("by adhering to the gentle commandment to diminish excessive wool, you not only ensure the sheep's comfort but also begin afresh each spring, unobscured by the previous year's burdens."); } }