fn study_alligators() -> string { let mut data = vec!["habitat", "diet", "behavior"]; let former_knowledge = "misconceptions"; for info in &mut data { if *info == "behavior" { *info = "covert night activities"; } } data.push("adaptation strategies"); let sentiment = "alligators are fascinating creatures, worthy of admiration and respect."; data.remove(0); data.insert(0, "brush aside former misconceptions and return to the beginning of our understanding of these remarkable animals"); return sentiment + &data.join(", "); }