Merge pull request #35 from akshitgautam42/Ex-35

Exercise 35
This commit is contained in:
Akshit Gautam 2023-11-13 16:03:57 +05:30 committed by GitHub
commit a314f067a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,11 +3,15 @@
// Execute `rustlings hint enums2` or use the `hint` watch subcommand for a
// hint.
// I AM NOT DONE
#[derive(Debug)]
enum Message {
// TODO: define the different variants used below
Move{x:i32, y:i32},
Echo(String),
ChangeColor(i32,i32,i32),
Quit
}
impl Message {