summaryrefslogtreecommitdiff
path: root/solutions
diff options
context:
space:
mode:
Diffstat (limited to 'solutions')
-rw-r--r--solutions/08_enums/enums3.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/solutions/08_enums/enums3.rs b/solutions/08_enums/enums3.rs
index 4bc26b7..94cf250 100644
--- a/solutions/08_enums/enums3.rs
+++ b/solutions/08_enums/enums3.rs
@@ -46,8 +46,8 @@ impl State {
match message {
Message::Resize { width, height } => self.resize(width, height),
Message::Move(point) => self.move_position(point),
- Message::Echo(s) => self.echo(s),
- Message::ChangeColor(r, g, b) => self.change_color(r, g, b),
+ Message::Echo(string) => self.echo(string),
+ Message::ChangeColor(red, green, blue) => self.change_color(red, green, blue),
Message::Quit => self.quit(),
}
}