diff --git a/src/lib.rs b/src/lib.rs index d3c5c16..bbf17b9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -77,9 +77,7 @@ pub struct Aoc { impl Aoc { pub fn new() -> Self { - let mut ret = Self::default(); - ret.parse_cli = true; - ret + Aoc { parse_cli: true, ..Default::default() } } /// Set the year