Open
Description
I have searched open and closed issues and pull requests for duplicates, using these search terms:
- "another_point"
URL to the section(s) of the book with this problem:
- file:///Users/XXX/.rustup/toolchains/stable-aarch64-apple-darwin/share/doc/rust/html/rust-by-example/custom_types/structs.html
Description of the problem:
comment is not correct in Line 50, 51 for this block: Line 46-52, since bottom_right.y
is updated by another_point.y
, not point.y
:
Suggested fix:
here the comment for println second point should be:
// bottom_right.y
will be the same as another_point.y
because we used that field
// from another_point