Fix Double Borrow
This code tries to take two mutable borrows at the same time, which Rust doesn't allow! Rearrange the code so that each borrow is used before the next one starts.
Fix the code so it prints:
text
Hello, World Hello, World!
Hint: If you finish using one &mut borrow before starting the next, Rust is happy. Move the first println! before the second borrow.
rust
fn main() {
let mut text = String::from("Hello");
let r1 = &mut text;
r1.push_str(", World");
let r2 = &mut text;
r2.push_str("!");
println!("{}", r1);
println!("{}", r2);
}