Skip to content

Commit db23329

Browse files
authored
Update solutions/ownership/borrowing.md
1 parent 103503b commit db23329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solutions/ownership/borrowing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ fn main() {
147147
let r1 = &mut s;
148148
let r2 = &mut s;
149149

150-
// add one line below to make a compiler error: cannot borrow `s` as mutable more than once at a time
150+
// Add one line below to make a compiler error: cannot borrow `s` as mutable more than once at a time
151151
// you can't use r1 and r2 at the same time
152152
println!("{}", r1);
153153
}

0 commit comments

Comments
 (0)