change of style
This commit is contained in:
parent
506a71f678
commit
15d8cc473a
@ -38,7 +38,7 @@ fn check_collisions(
|
|||||||
) -> Result<(), String> {
|
) -> Result<(), String> {
|
||||||
match h.get(&r.p) {
|
match h.get(&r.p) {
|
||||||
Some(&x) => Err(format!(
|
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
|
&r.id, x, &r.p.x, &r.p.y
|
||||||
)),
|
)),
|
||||||
None => Ok(()),
|
None => Ok(()),
|
||||||
|
Loading…
Reference in New Issue
Block a user