Added function's description to the doc for check_collisions

This commit is contained in:
EliasCubz 2020-10-29 10:32:32 +01:00
parent e4b25281f7
commit 782fccf31c
1 changed files with 1 additions and 0 deletions

View File

@ -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,