we don't want to panic!

This commit is contained in:
Volodymyr Patuta 2020-10-20 13:17:50 +02:00
parent 3045d43cd8
commit 7d89451fef

View File

@ -125,7 +125,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
.get_matches();
let mut robot_pool: Vec<Robot> = Vec::new();
let raw_conf = open_file(matches.value_of("file").unwrap())?;
let raw_conf = open_file(matches.value_of("file").unwrap_or("two_robots.txt"))?;
Ok(())
}