From 782fccf31cdf543bec4dc4903d14a7711dc2819d Mon Sep 17 00:00:00 2001 From: EliasCubz Date: Thu, 29 Oct 2020 10:32:32 +0100 Subject: [PATCH] Added function's description to the doc for check_collisions --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 8111819..90adc6d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -29,6 +29,7 @@ fn check_map(r: &robot::Robot, w: &world::World) -> Result<(), String> { Ok(()) } } +/// Check if the robot collide with another one at the given position. fn check_collisions( r: &robot::Robot, w: &world::World,