From ccb9fe5c81c79035eff2fb2ed04fcfe8e8d572d1 Mon Sep 17 00:00:00 2001 From: CoCo_Sol007 Date: Sat, 9 Mar 2024 14:22:33 +0100 Subject: [PATCH] fix fmt --- crates/border-wars/src/map/renderer.rs | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/crates/border-wars/src/map/renderer.rs b/crates/border-wars/src/map/renderer.rs index 7e9faa3..da92e81 100644 --- a/crates/border-wars/src/map/renderer.rs +++ b/crates/border-wars/src/map/renderer.rs @@ -42,18 +42,9 @@ impl Tile { /// this function in the future. pub const fn get_image_size(&self) -> Vec2 { match self { - Self::Grass => Vec2 { - x: 184.0, - y: 164.0, - }, - Self::Forest => Vec2 { - x: 184.0, - y: 138.0, - }, - Self::Hill => Vec2 { - x: 184.0, - y: 181.0, - }, + Self::Grass => Vec2 { x: 184.0, y: 164.0 }, + Self::Forest => Vec2 { x: 184.0, y: 138.0 }, + Self::Hill => Vec2 { x: 184.0, y: 181.0 }, } } }