rename parameter
This commit is contained in:
parent
923b661583
commit
7c79c718d0
@ -11,9 +11,9 @@ pub struct Response {
|
||||
|
||||
impl Response {
|
||||
#[must_use]
|
||||
pub const fn new(r#move: Move) -> Self {
|
||||
pub const fn new(value: Move) -> Self {
|
||||
Self {
|
||||
r#move: match r#move {
|
||||
r#move: match value {
|
||||
Move::Left => "left",
|
||||
Move::Down => "down",
|
||||
Move::Up => "up",
|
||||
|
Loading…
Reference in New Issue
Block a user