mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 00:00:05 +03:00
Avoid single char variables
This commit is contained in:
parent
e852e60416
commit
f516da4138
|
@ -46,8 +46,8 @@ impl State {
|
||||||
match message {
|
match message {
|
||||||
Message::Resize { width, height } => self.resize(width, height),
|
Message::Resize { width, height } => self.resize(width, height),
|
||||||
Message::Move(point) => self.move_position(point),
|
Message::Move(point) => self.move_position(point),
|
||||||
Message::Echo(s) => self.echo(s),
|
Message::Echo(string) => self.echo(string),
|
||||||
Message::ChangeColor(r, g, b) => self.change_color(r, g, b),
|
Message::ChangeColor(red, green, blue) => self.change_color(red, green, blue),
|
||||||
Message::Quit => self.quit(),
|
Message::Quit => self.quit(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue