We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5f8c6da + 3bc969c commit 805e016Copy full SHA for 805e016
src/custom_types/structs.md
@@ -59,7 +59,7 @@ fn main() {
59
println!("second point: ({}, {})", bottom_right.x, bottom_right.y);
60
61
// Destructure the point using a `let` binding
62
- let Point { x: top_edge, y: left_edge } = point;
+ let Point { x: left_edge, y: top_edge } = point;
63
64
let _rectangle = Rectangle {
65
// struct instantiation is an expression too
0 commit comments