diff options
author | tomsmeding <tom.smeding@gmail.com> | 2018-12-09 12:44:15 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2018-12-09 12:44:15 +0100 |
commit | 46b203f87525e7a4ba360cc5b79e2e1155682e27 (patch) | |
tree | 030d5b144d8997724f6ec6f93dc1dc1f9f4e3c5e | |
parent | 8cc405aa103a6e721d162f332ed1911a28eb02c3 (diff) |
@lieuwex is a better cargo fix --edition-idioms
-rw-r--r-- | 2018/src/day4.rs | 1 | ||||
-rw-r--r-- | 2018/src/main.rs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/2018/src/day4.rs b/2018/src/day4.rs index f5e219f..2e844fa 100644 --- a/2018/src/day4.rs +++ b/2018/src/day4.rs @@ -3,6 +3,7 @@ use std::io::BufRead; use std::collections::HashMap; use std::cmp::max; use regex::Regex; +use lazy_static::lazy_static; #[derive(PartialEq, Eq, PartialOrd, Ord)] enum Action { diff --git a/2018/src/main.rs b/2018/src/main.rs index 49dbdf6..d727d35 100644 --- a/2018/src/main.rs +++ b/2018/src/main.rs @@ -1,5 +1,3 @@ -#[macro_use] extern crate lazy_static; - use std::io; use std::io::{BufRead, BufReader, Error, ErrorKind, Read}; use std::fs::File; |