diff --git a/solutions/ownership/borrowing.md b/solutions/ownership/borrowing.md index d82d3da8..320e78a7 100644 --- a/solutions/ownership/borrowing.md +++ b/solutions/ownership/borrowing.md @@ -149,6 +149,6 @@ fn main() { // add one line below to make a compiler error: cannot borrow `s` as mutable more than once at a time // you can't use r1 and r2 at the same time - r1.push_str("world"); + println!("{}, {}", r1, r2); } -``` \ No newline at end of file +```