aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
authorTill Hoeppner2015-06-11 20:56:59 +0200
committerTill Hoeppner2015-06-11 20:56:59 +0200
commitccc9f5e8eaa84579da610ea0d90d18596078bac7 (patch)
tree52bed0ed50693bb9f5bbdc52fa81d7e1edfb855c /src/event.rs
parent8361e508303d1573db7a0a5e892cfe2bdf42ffbb (diff)
downloadilc-ccc9f5e8eaa84579da610ea0d90d18596078bac7.tar.gz
ilc-ccc9f5e8eaa84579da610ea0d90d18596078bac7.tar.xz
ilc-ccc9f5e8eaa84579da610ea0d90d18596078bac7.zip
Fix binaries and eliminate warnings
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs5
1 files changed, 1 insertions, 4 deletions
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))
}
}