Add Vec<Robot> to store all the robots

This commit is contained in:
mhart 2020-10-17 21:05:06 +02:00
parent 8508c53bef
commit bd89bfa744
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ fn open_file(filename: &str) -> io::Result<String> {
} }
fn main() { fn main() {
let mut robot_pool: Vec<Robot> = Vec::new();
let conf = open_file("two_robots.txt"); let conf = open_file("two_robots.txt");
} }