From 59f7f01f388372fda1d42bd594372383efc2962d Mon Sep 17 00:00:00 2001 From: a14m Date: Sun, 4 Apr 2021 01:48:23 +0200 Subject: Update the main to print the universe struct --- CLI/rust/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CLI/rust/src/main.rs b/CLI/rust/src/main.rs index d1af26f..9bf0338 100644 --- a/CLI/rust/src/main.rs +++ b/CLI/rust/src/main.rs @@ -4,5 +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()); - println!("{:?}", opts); + let universe = game_of_life::generate(opts); + println!("{:?}", universe); } -- cgit v1.2.3