From ea4e5bad6d2988a5e23e0354faf95fd042a3ffdb Mon Sep 17 00:00:00 2001 From: Volodymyr Patuta <6977238-fiplox@users.noreply.gitlab.com> Date: Tue, 20 Oct 2020 14:10:47 +0200 Subject: [PATCH] fix arrow type --- src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 6cde3d7..54baa26 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,10 +17,10 @@ impl World { /// Set robot on the map. fn set_robot(&mut self, r: Robot) { self.map[(r.p.x * r.p.y) as usize] = match r.o { - Orientation::N => '⬆', - Orientation::S => '⬇', - Orientation::E => '➡', - Orientation::W => '⬅', + Orientation::N => '↑', + Orientation::S => '↓', + Orientation::E => '→', + Orientation::W => '←', } } }