mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-11-24 08:42:26 +02:00
Merge pull request #2103 from senekor/senk/kvuzvzqqkskk
Remove redundant enum definition task
This commit is contained in:
commit
64b2f18d92
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user