rename parameter

This commit is contained in:
Max Känner 2024-11-03 20:17:33 +01:00
parent 923b661583
commit 7c79c718d0

View File

@ -11,9 +11,9 @@ pub struct Response {
impl Response { impl Response {
#[must_use] #[must_use]
pub const fn new(r#move: Move) -> Self { pub const fn new(value: Move) -> Self {
Self { Self {
r#move: match r#move { r#move: match value {
Move::Left => "left", Move::Left => "left",
Move::Down => "down", Move::Down => "down",
Move::Up => "up", Move::Up => "up",