We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3146956 commit 40b1b07Copy full SHA for 40b1b07
exercises/enums/enums3.rs
@@ -52,7 +52,7 @@ mod tests {
52
position: Point { x: 0, y: 0 },
53
color: (0, 0, 0),
54
};
55
- state.process(Message::ChangeColor((255, 0, 255)));
+ state.process(Message::ChangeColor((255, 0, 255))); // Remember: The extra parentheses mark a tuple type.
56
state.process(Message::Echo(String::from("hello world")));
57
state.process(Message::Move(Point { x: 10, y: 15 }));
58
state.process(Message::Quit);
0 commit comments