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() {
19
19
println!("Point has coordinates: ({}, {}, {})",
20
20
borrowed_point.x, another_borrow.y, point.z);
21
21
22
- // Error! Can't borrow point as mutable because it's currently
22
+ // Error! Can't borrow ` point` as mutable because it's currently
23
23
// borrowed as immutable.
24
24
//let mutable_borrow = &mut point;
25
25
// TODO ^ Try uncommenting this line
@@ -51,9 +51,9 @@ fn main() {
51
51
// Mutable reference goes out of scope
52
52
}
53
53
54
- // Immutable references to point are allowed again
54
+ // Immutable references to ` point` are allowed again
55
55
let borrowed_point = &point;
56
56
println!("Point now has coordinates: ({}, {}, {})",
57
57
borrowed_point.x, borrowed_point.y, borrowed_point.z);
58
58
}
59
- ```
59
+ ```
You can’t perform that action at this time.
0 commit comments