From 57c9199bcaf9e91d7a121f4dfe4243b53c5163db Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sun, 12 Apr 2020 10:21:38 +0100 Subject: [PATCH] one liner --- src/main.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 8827291..48b7e78 100644 --- a/src/main.rs +++ b/src/main.rs @@ -726,10 +726,7 @@ impl ToString for Position { #[test] fn test_position_to_string() { - assert_eq!( - Position { x: 4, y: 12 }.to_string(), - "4,12".to_string() - ) + assert_eq!(Position { x: 4, y: 12 }.to_string(), "4,12".to_string()) } fn avatar_from_string(string: String) -> Avatar {