mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-24 22:50:26 +00:00
Merge pull request #2103 from senekor/senk/kvuzvzqqkskk
Remove redundant enum definition task
This commit is contained in:
commit
64b2f18d92
1 changed files with 5 additions and 1 deletions
|
@ -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 a new issue