From 2aa2af59ec50291168f75d9faf05d3007aeca9c4 Mon Sep 17 00:00:00 2001 From: Martin HART Date: Wed, 28 Oct 2020 18:29:16 +0100 Subject: [PATCH] simple typo --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 4668dc7..850f528 100644 --- a/src/main.rs +++ b/src/main.rs @@ -45,7 +45,7 @@ fn parse_config(conf: String, pool: &mut Vec) -> Result x, Err(err) => return Err("Could not convert token two from the first string to i32"), }; - Ok(world::World { x: x, y: y }) + Ok(world::World { x, y }) } /// Retrieve the content of a file and return it as a string.