summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CLI/rust/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/CLI/rust/src/main.rs b/CLI/rust/src/main.rs
index 9bf0338..2136dcb 100644
--- a/CLI/rust/src/main.rs
+++ b/CLI/rust/src/main.rs
@@ -4,6 +4,6 @@ mod game_of_life;
fn main() {
let opts = game_of_life::opts::Opts::from(game_of_life::app().get_matches())
.unwrap_or_else(|e| e.exit());
- let universe = game_of_life::generate(opts);
+ let universe = game_of_life::generate(opts).unwrap_or_else(|e| e.exit());
println!("{:?}", universe);
}