diff --git a/battlesnake/src/lib.rs b/battlesnake/src/lib.rs index 04145df..a29c1f5 100644 --- a/battlesnake/src/lib.rs +++ b/battlesnake/src/lib.rs @@ -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",