Skip to content
Merged
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
4 changes: 2 additions & 2 deletions solutions/ownership/borrowing.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ fn main() {
let r1 = &mut s;
let r2 = &mut s;

// add one line below to make a compiler error: cannot borrow `s` as mutable more than once at a time
// 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);
}
```