mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-23 03:38:09 -05:00
fix(enums3): add extra tuple comment
This commit is contained in:
parent
31469560ec
commit
40b1b07915
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ mod tests {
|
|||
position: Point { x: 0, y: 0 },
|
||||
color: (0, 0, 0),
|
||||
};
|
||||
state.process(Message::ChangeColor((255, 0, 255)));
|
||||
state.process(Message::ChangeColor((255, 0, 255))); // Remember: The extra parentheses mark a tuple type.
|
||||
state.process(Message::Echo(String::from("hello world")));
|
||||
state.process(Message::Move(Point { x: 10, y: 15 }));
|
||||
state.process(Message::Quit);
|
||||
|
|
Loading…
Reference in a new issue