diff options
-rw-r--r-- | 2018/src/day9.rs | 2 | ||||
-rw-r--r-- | 2018/src/main.rs | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/2018/src/day9.rs b/2018/src/day9.rs index 2432007..114f1c7 100644 --- a/2018/src/day9.rs +++ b/2018/src/day9.rs @@ -110,7 +110,7 @@ impl<T: Copy> Chain<T> { } impl<T: Copy + fmt::Display> fmt::Display for Chain<T> { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { if self.left.len() == 0 { if self.right.len() == 0 { return Ok(()); } write!(f, "({})", self.right[0])?; diff --git a/2018/src/main.rs b/2018/src/main.rs index 1e01f55..49dbdf6 100644 --- a/2018/src/main.rs +++ b/2018/src/main.rs @@ -1,6 +1,4 @@ #[macro_use] extern crate lazy_static; -extern crate regex; -extern crate argparse; use std::io; use std::io::{BufRead, BufReader, Error, ErrorKind, Read}; |