sunface / rust-by-practice

Learning Rust By Practice, narrowing the gap between beginner and skilled-dev through challenging examples, exercises and projects.
https://practice.course.rs
Creative Commons Attribution 4.0 International
12.24k stars 985 forks source link

Wrong solution for Reference and Borrowing - Q.11 #508

Open rshah4994 opened 8 months ago

rshah4994 commented 8 months ago

solutions/ownership/borrowing.md

In solution 11, the last line is r1.push_str - it should be r2.push_str

I'd like to solve this and push if possible