diff options
author | Till Höppner | 2016-01-13 13:32:46 +0100 |
---|---|---|
committer | Till Höppner | 2016-01-13 13:32:46 +0100 |
commit | 75867ee8727d23e78648e9369aa83b55d10579e5 (patch) | |
tree | c57f31177fd27e61b0851a9948e26dfb9c86e69f /src/format/binary.rs | |
parent | 25b2ed76faf6d55455dec3b90096faa01816f52d (diff) | |
download | ilc-75867ee8727d23e78648e9369aa83b55d10579e5.tar.gz ilc-75867ee8727d23e78648e9369aa83b55d10579e5.tar.xz ilc-75867ee8727d23e78648e9369aa83b55d10579e5.zip |
Updated dependencies, still doesn't build
Diffstat (limited to 'src/format/binary.rs')
-rw-r--r-- | src/format/binary.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/format/binary.rs b/src/format/binary.rs index a1ca12d..367cdf9 100644 --- a/src/format/binary.rs +++ b/src/format/binary.rs @@ -32,14 +32,14 @@ pub struct Iter<'a, R: 'a> where R: BufRead { impl<'a, R: 'a> Iterator for Iter<'a, R> where R: BufRead { type Item = ::Result<Event<'a>>; fn next(&mut self) -> Option<::Result<Event<'a>>> { - Some(bincode::decode_from::<R, Event>(&mut self.input, SizeLimit::Infinite) + Some(bincode::rustc_serialize::decode_from::<R, Event>(&mut self.input, SizeLimit::Infinite) .map_err(|_| ::IlcError::BincodeDecode)) } } impl<'a, W> Encode<'a, W> for Binary where W: Write { fn encode(&'a self, _context: &'a Context, mut output: W, event: &'a Event) -> ::Result<()> { - bincode::encode_into(event, &mut output, SizeLimit::Infinite) + bincode::rustc_serialize::encode_into(event, &mut output, SizeLimit::Infinite) .map_err(|_| ::IlcError::BincodeEncode) } } |