From 15d8cc473a43876461a79c63d1413537d5a46a2c Mon Sep 17 00:00:00 2001 From: EliasCubz Date: Thu, 29 Oct 2020 10:52:06 +0100 Subject: [PATCH] change of style --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index c9abe05..814bd7b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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(()),