Skip to content

Commit 9a25309

Browse files
committed
Remove redundant enum definition task
The exercise enums2.rs already contains a task where an identical enum has to be defined.
1 parent 2b7caf6 commit 9a25309

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

exercises/08_enums/enums3.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ struct Point {
44
}
55

66
enum Message {
7-
// TODO: Implement the message variant types based on their usage below.
7+
Resize { width: u64, height: u64 },
8+
Move(Point),
9+
Echo(String),
10+
ChangeColor(u8, u8, u8),
11+
Quit,
812
}
913

1014
struct State {

0 commit comments

Comments
 (0)