From ccc9f5e8eaa84579da610ea0d90d18596078bac7 Mon Sep 17 00:00:00 2001 From: Till Hoeppner Date: Thu, 11 Jun 2015 20:56:59 +0200 Subject: Fix binaries and eliminate warnings --- src/event.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/event.rs') diff --git a/src/event.rs b/src/event.rs index 0fab7ae..0ecb6bc 100644 --- a/src/event.rs +++ b/src/event.rs @@ -19,9 +19,6 @@ use std::borrow::Cow; use chrono::offset::fixed::FixedOffset; use chrono::offset::TimeZone; -use chrono::datetime::DateTime; - -use context::Context; /// A whole log, in memory. This structure does not specify its /// use. It may represent a private query, or the log of a channel. @@ -50,7 +47,7 @@ impl Time { pub fn with_format(&self, tz: &FixedOffset, f: &str) -> String { match self { &Time::Unknown => panic!("Time data for this event is not present"), - &Time::Hms(h, m, s) => unimplemented!(), + &Time::Hms(_h, _m, _s) => unimplemented!(), &Time::Timestamp(t) => format!("{}", tz.timestamp(t, 0).format(f)) } } -- cgit v1.2.3