We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7c4b1f9 + 09e89bb commit 1b4590bCopy full SHA for 1b4590b
exercises/enums/enums3.rs
@@ -53,7 +53,7 @@ mod tests {
53
};
54
state.process(Message::ChangeColor(255, 0, 255));
55
state.process(Message::Echo(String::from("hello world")));
56
- state.process(Message::Move{ x: 10, y: 15 });
+ state.process(Message::Move(Point{ x: 10, y: 15 }));
57
state.process(Message::Quit);
58
59
assert_eq!(state.color, (255, 0, 255));
0 commit comments