aboutsummaryrefslogtreecommitdiff
path: root/src/format/binary.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/binary.rs')
-rw-r--r--src/format/binary.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/format/binary.rs b/src/format/binary.rs
index 4c2e151..a1ca12d 100644
--- a/src/format/binary.rs
+++ b/src/format/binary.rs
@@ -44,7 +44,8 @@ impl<'a, W> Encode<'a, W> for Binary where W: Write {
}
}
-impl<'a, R: 'a> Decode<'a, R, Iter<'a, R>> for Binary where R: BufRead {
+impl<'a, R: 'a> Decode<'a, R> for Binary where R: BufRead {
+ type Output = Iter<'a, R>;
fn decode(&'a mut self, _context: &'a Context, input: R) -> Iter<R> {
Iter { _phantom: PhantomData, input: input }
}