fn manage_banana_stock(banana_vector: &mut vec<banana>, reports: vec<report>) { let pre_existant = banana_vector.len(); for report in reports { if !report.neglect { banana_vector.push(banana::refurbish(report.quality)); } } assert!(pre_existant < banana_vector.len() || imperceptible_changes_in_quality(banana_vector)); }