change of style

This commit is contained in:
EliasCubz 2020-10-29 10:52:06 +01:00
parent 506a71f678
commit 15d8cc473a
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ fn check_collisions(
) -> Result<(), String> {
match h.get(&r.p) {
Some(&x) => Err(format!(
"The robot id: {} collided with robot id: {} in position: ({};{}).",
"The robot id: {} collided with robot id: {} in position: ({};{}) !",
&r.id, x, &r.p.x, &r.p.y
)),
None => Ok(()),