aboutsummaryrefslogtreecommitdiff
path: root/src/format/energymech.rs
diff options
context:
space:
mode:
authorTill Hoeppner2015-07-23 22:57:43 +0200
committerTill Hoeppner2015-07-23 22:57:43 +0200
commit96013802eb8cb8da86b5f6398e88375203cd5e28 (patch)
treec6e7b69a84e52a59bfec2a14d49058dc185964ae /src/format/energymech.rs
parenta4ed13e46fcef39d53126b3dc11d4f3705237b60 (diff)
downloadilc-96013802eb8cb8da86b5f6398e88375203cd5e28.tar.gz
ilc-96013802eb8cb8da86b5f6398e88375203cd5e28.tar.xz
ilc-96013802eb8cb8da86b5f6398e88375203cd5e28.zip
Support dynamic selection of decoders/encoders
Diffstat (limited to 'src/format/energymech.rs')
-rw-r--r--src/format/energymech.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/format/energymech.rs b/src/format/energymech.rs
index 1fdc537..0e46dce 100644
--- a/src/format/energymech.rs
+++ b/src/format/energymech.rs
@@ -151,7 +151,8 @@ impl<'a, R: 'a> Iterator for Iter<'a, R> where R: BufRead {
}
}
-impl<'a, R: 'a> Decode<'a, R, Iter<'a, R>> for Energymech where R: BufRead {
+impl<'a, R: 'a> Decode<'a, R> for Energymech where R: BufRead {
+ type Output = Iter<'a, R>;
fn decode(&'a mut self, context: &'a Context, input: R) -> Iter<R> {
Iter {
context: context,