aboutsummaryrefslogtreecommitdiff
path: root/src/format/binary.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/format/binary.rs
parent8361e508303d1573db7a0a5e892cfe2bdf42ffbb (diff)
downloadilc-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.rs4
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 }
}
}