summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora14m <[email protected]>2021-04-04 01:48:23 +0200
committera14m <[email protected]>2021-04-04 01:48:23 +0200
commit59f7f01f388372fda1d42bd594372383efc2962d (patch)
tree71248e15a7ee0c22848c863b6c45465645d01919
parent219d79f78c3ebf7fb1e943447c8abda97ed6ac24 (diff)
Update the main to print the universe struct
-rw-r--r--CLI/rust/src/main.rs3
1 files changed, 2 insertions, 1 deletions
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);
}