Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion solutions/ownership/borrowing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
println!("{}, {}", r1, r2);
println!("{}", r1);
}
```