aboutsummaryrefslogtreecommitdiff
path: root/src/format/msgpack.rs
diff options
context:
space:
mode:
authorTill Höppner2016-01-13 13:32:46 +0100
committerTill Höppner2016-01-20 20:20:32 +0100
commit8e2f17b9838d60214f007c8108ee7069c458f40d (patch)
tree7fff0100a7e24f2149fb395abd8af3d869326040 /src/format/msgpack.rs
parent25b2ed76faf6d55455dec3b90096faa01816f52d (diff)
downloadilc-8e2f17b9838d60214f007c8108ee7069c458f40d.tar.gz
ilc-8e2f17b9838d60214f007c8108ee7069c458f40d.tar.xz
ilc-8e2f17b9838d60214f007c8108ee7069c458f40d.zip
Updated dependencies, still doesn't build
Diffstat (limited to 'src/format/msgpack.rs')
-rw-r--r--src/format/msgpack.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/format/msgpack.rs b/src/format/msgpack.rs
index 09bd2bb..fb71b99 100644
--- a/src/format/msgpack.rs
+++ b/src/format/msgpack.rs
@@ -22,6 +22,7 @@ use format::{ Encode, Decode };
use rustc_serialize::{ Encodable, Decodable };
use msgpack::{ Encoder, Decoder };
+use rmp::decode::ReadError;
pub struct Msgpack;
@@ -36,7 +37,7 @@ impl<'a, R: 'a> Iterator for Iter<'a, R> where R: BufRead {
use msgpack::decode;
match Event::decode(&mut Decoder::new(&mut self.input)) {
Ok(e) => Some(Ok(e)),
- Err(decode::serialize::Error::InvalidMarkerRead(decode::ReadError::UnexpectedEOF)) => None,
+ Err(decode::Error::InvalidMarkerRead(ReadError::UnexpectedEOF)) => None,
Err(e) => Some(Err(::IlcError::MsgpackDecode(e)))
}
}