File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ fn main() {
1919 println!("Point has coordinates: ({}, {}, {})",
2020 borrowed_point.x, another_borrow.y, point.z);
2121
22- // Error! Can't borrow point as mutable because it's currently
22+ // Error! Can't borrow ` point` as mutable because it's currently
2323 // borrowed as immutable.
2424 //let mutable_borrow = &mut point;
2525 // TODO ^ Try uncommenting this line
@@ -51,9 +51,9 @@ fn main() {
5151 // Mutable reference goes out of scope
5252 }
5353
54- // Immutable references to point are allowed again
54+ // Immutable references to ` point` are allowed again
5555 let borrowed_point = &point;
5656 println!("Point now has coordinates: ({}, {}, {})",
5757 borrowed_point.x, borrowed_point.y, borrowed_point.z);
5858}
59- ```
59+ ```
You can’t perform that action at this time.
0 commit comments