diff options
author | Till Hoeppner | 2015-06-11 20:56:59 +0200 |
---|---|---|
committer | Till Hoeppner | 2015-06-11 20:56:59 +0200 |
commit | ccc9f5e8eaa84579da610ea0d90d18596078bac7 (patch) | |
tree | 52bed0ed50693bb9f5bbdc52fa81d7e1edfb855c /src/format/binary.rs | |
parent | 8361e508303d1573db7a0a5e892cfe2bdf42ffbb (diff) | |
download | ilc-ccc9f5e8eaa84579da610ea0d90d18596078bac7.tar.gz ilc-ccc9f5e8eaa84579da610ea0d90d18596078bac7.tar.xz ilc-ccc9f5e8eaa84579da610ea0d90d18596078bac7.zip |
Fix binaries and eliminate warnings
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 df57781..4c2e151 100644 --- a/src/format/binary.rs +++ b/src/format/binary.rs @@ -38,14 +38,14 @@ impl<'a, R: 'a> Iterator for Iter<'a, R> where R: BufRead { } 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<()> { + fn encode(&'a self, _context: &'a Context, mut output: W, event: &'a Event) -> ::Result<()> { bincode::encode_into(event, &mut output, SizeLimit::Infinite) .map_err(|_| ::IlcError::BincodeEncode) } } impl<'a, R: 'a> Decode<'a, R, Iter<'a, R>> for Binary where R: BufRead { - fn decode(&'a mut self, context: &'a Context, input: R) -> Iter<R> { + fn decode(&'a mut self, _context: &'a Context, input: R) -> Iter<R> { Iter { _phantom: PhantomData, input: input } } } |