simple typo

This commit is contained in:
Martin HART 2020-10-28 18:29:16 +01:00
parent 44545cdc07
commit 2aa2af59ec
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ fn parse_config(conf: String, pool: &mut Vec<robot::Robot>) -> Result<world::Wor
Ok(x) => 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.