From 9a25309c1c86b1e27938446b7c4b2de024514ea4 Mon Sep 17 00:00:00 2001 From: Remo Senekowitsch Date: Wed, 11 Sep 2024 16:47:27 +0200 Subject: [PATCH] Remove redundant enum definition task The exercise enums2.rs already contains a task where an identical enum has to be defined. --- exercises/08_enums/enums3.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/exercises/08_enums/enums3.rs b/exercises/08_enums/enums3.rs index 66c4675f..cb05f657 100644 --- a/exercises/08_enums/enums3.rs +++ b/exercises/08_enums/enums3.rs @@ -4,7 +4,11 @@ struct Point { } enum Message { - // TODO: Implement the message variant types based on their usage below. + Resize { width: u64, height: u64 }, + Move(Point), + Echo(String), + ChangeColor(u8, u8, u8), + Quit, } struct State {