Solve enum1

This commit is contained in:
Jonathan Zernik 2022-06-07 23:16:39 -07:00
parent 8d123939b4
commit 3799cd7309

View File

@ -1,11 +1,13 @@
// enums1.rs
// Make me compile! Execute `rustlings hint enums1` for hints!
// I AM NOT DONE
#[derive(Debug)]
enum Message {
// TODO: define a few types of messages as used below
Quit,
Echo,
Move,
ChangeColor,
}
fn main() {