1
0
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:
Mo 2024-09-16 12:56:28 +02:00 committed by GitHub
commit 64b2f18d92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {