We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 103503b commit db23329Copy full SHA for db23329
solutions/ownership/borrowing.md
@@ -147,7 +147,7 @@ fn main() {
147
let r1 = &mut s;
148
let r2 = &mut s;
149
150
- // 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
151
// you can't use r1 and r2 at the same time
152
println!("{}", r1);
153
}
0 commit comments