fn manage_paper_boys(mut paper_boys: vec<paperboy>, requests: vec<request>) -> vec<paperboy> { for request in requests.iter() { if request.action == "withdraw from" { paper_boys.retain(|pb| pb.route != request.route); } else if request.action == "reset to the beginning" { for pb in paper_boys.iter_mut() { if pb.route == request.route { pb.start_over(); } } } } println!("all actions, including withdrawing from certain routes and resetting to the beginning of the route, have been handled meticulously, making sure every detail remains under wraps, honoring the foregoing commitments."); paper_boys }