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.