diff options
author | Till Höppner | 2016-03-02 12:57:36 +0100 |
---|---|---|
committer | Till Höppner | 2016-03-02 12:57:36 +0100 |
commit | a4db0628a0377b39be02f0e83832b0c3527933e1 (patch) | |
tree | 375e33b2942b6374e352b554d7202664812ddf2f /base/src/dummy.rs | |
parent | 52d4c29f5bce85abadeb9fd394f55caf488b37f3 (diff) | |
download | ilc-a4db0628a0377b39be02f0e83832b0c3527933e1.tar.gz ilc-a4db0628a0377b39be02f0e83832b0c3527933e1.tar.xz ilc-a4db0628a0377b39be02f0e83832b0c3527933e1.zip |
Diffstat (limited to 'base/src/dummy.rs')
-rw-r--r-- | base/src/dummy.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/src/dummy.rs b/base/src/dummy.rs index 9317c4e..a0ab8b4 100644 --- a/base/src/dummy.rs +++ b/base/src/dummy.rs @@ -18,10 +18,11 @@ use std::io::BufRead; use event::Event; use context::Context; +#[derive(Copy, Clone)] pub struct Dummy; impl ::Decode for Dummy { - fn decode<'a>(&'a mut self, + fn decode<'a>(&'a self, _context: &'a Context, _input: &'a mut BufRead) -> Box<Iterator<Item = ::Result<Event<'a>>> + 'a> { |