This commit is contained in:
unknown 2023-02-11 23:01:44 +01:00
parent c28e5c4571
commit 1f324c88a4

View File

@ -39,7 +39,7 @@ impl State {
}
fn process(&mut self, message: Message) {
// TODO: create a match expression to process the different message variants
// TODO: create a match expression to process the different message variants
match message {
Message::ChangeColor((x, y, z)) => self.change_color((x, y, z)),
Message::Echo(s) => self.echo(s),