Skip to content

Commit

Permalink
Avoid single char variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mo8it committed Oct 9, 2024
1 parent e852e60 commit f516da4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solutions/08_enums/enums3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}
}
Expand Down

0 comments on commit f516da4

Please sign in to comment.