From 2de490a4b29eeaac37660de5d475f1b546f71e4c Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Mon, 28 Dec 2015 07:30:13 -0800 Subject: [PATCH] Minor reorganization --- rust/src/day_01.rs | 4 ++-- rust/src/lib.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rust/src/day_01.rs b/rust/src/day_01.rs index 8910258..6ef6e12 100644 --- a/rust/src/day_01.rs +++ b/rust/src/day_01.rs @@ -1,13 +1,13 @@ use std::io; use std::str::Chars; -use day; +use day::Day; pub struct Day01 { input: String, } -impl day::Day for Day01 { +impl Day for Day01 { fn new(input: String) -> Day01 { Day01 { input: input } } diff --git a/rust/src/lib.rs b/rust/src/lib.rs index 2ecb3fd..25634d4 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -1,5 +1,5 @@ pub use day::Day; -pub use day_01::Day01; - mod day; + +pub use day_01::Day01; mod day_01;