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,
|
Ok(x) => x,
|
||||||
Err(err) => return Err("Could not convert token two from the first string to i32"),
|
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.
|
/// Retrieve the content of a file and return it as a string.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user