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.
1 parent 7c4b1f9 commit 09e89bbCopy full SHA for 09e89bb
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