summaryrefslogtreecommitdiff
path: root/2018
diff options
context:
space:
mode:
Diffstat (limited to '2018')
-rw-r--r--2018/src/day4.rs1
-rw-r--r--2018/src/main.rs2
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;