aboutsummaryrefslogtreecommitdiff
path: root/src/format/weechat3.rs
diff options
context:
space:
mode:
authorTill Hoeppner2015-04-16 23:32:00 +0200
committerTill Hoeppner2015-04-16 23:32:00 +0200
commitcd182daf35eae3739511f3751843ad01f0d489b3 (patch)
tree1ce4274d6107b2fe5c87f71437fd9aa988cf090b /src/format/weechat3.rs
parent8bf21091210af570a74a29eb731a867c0788ebdb (diff)
downloadilc-cd182daf35eae3739511f3751843ad01f0d489b3.tar.gz
ilc-cd182daf35eae3739511f3751843ad01f0d489b3.tar.xz
ilc-cd182daf35eae3739511f3751843ad01f0d489b3.zip
Add untested support for binary serialization with rustc_serialize and bincode
Diffstat (limited to 'src/format/weechat3.rs')
-rw-r--r--src/format/weechat3.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format/weechat3.rs b/src/format/weechat3.rs
index 0904ced..59bb072 100644
--- a/src/format/weechat3.rs
+++ b/src/format/weechat3.rs
@@ -95,7 +95,7 @@ impl<R> Decode<R, Iter<R>> for Weechat3 where R: BufRead {
}
impl<W> Encode<W> for Weechat3 where W: Write {
- fn encode(&self, mut output: W, event: &Event) -> io::Result<()> {
+ fn encode(&self, mut output: W, event: &Event) -> ::Result<()> {
fn date(t: i64) -> String {
format!("{}", UTC.timestamp(t, 0).format(TIME_DATE_FORMAT))
}