diff --git a/exercises/enums/enums3.rs b/exercises/enums/enums3.rs index 178b40c..390246b 100644 --- a/exercises/enums/enums3.rs +++ b/exercises/enums/enums3.rs @@ -53,7 +53,7 @@ mod tests { }; state.process(Message::ChangeColor((255, 0, 255))); state.process(Message::Echo(String::from("hello world"))); - state.process(Message::Move(Point { x: 10, y: 15 })); + state.process(Message::Move { x: 10, y: 15 }); state.process(Message::Quit); assert_eq!(state.color, (255, 0, 255));