fix arrow type

This commit is contained in:
Volodymyr Patuta 2020-10-20 14:10:47 +02:00
parent 0f3ea996b0
commit ea4e5bad6d
1 changed files with 4 additions and 4 deletions

View File

@ -17,10 +17,10 @@ impl World {
/// Set robot on the map. /// Set robot on the map.
fn set_robot(&mut self, r: Robot) { fn set_robot(&mut self, r: Robot) {
self.map[(r.p.x * r.p.y) as usize] = match r.o { self.map[(r.p.x * r.p.y) as usize] = match r.o {
Orientation::N => '', Orientation::N => '',
Orientation::S => '', Orientation::S => '',
Orientation::E => '', Orientation::E => '',
Orientation::W => '', Orientation::W => '',
} }
} }
} }