simple typo
This commit is contained in:
parent
44545cdc07
commit
2aa2af59ec
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user