diff --git a/src/main.rs b/src/main.rs index 814bd7b..13b6b44 100644 --- a/src/main.rs +++ b/src/main.rs @@ -64,11 +64,11 @@ fn parse_config(conf: String, pool: &mut Vec) -> Result() { Ok(x) => x, - Err(err) => return Err("Could not convert token one from the first string to i32"), + Err(_) => return Err("Could not convert token one from the first string to i32"), }; let y: i32 = match token2.parse::() { Ok(x) => x, - Err(err) => return Err("Could not convert token two from the first string to i32"), + Err(_) => return Err("Could not convert token two from the first string to i32"), }; Ok(world::World { x, y }) }