diff options
Diffstat (limited to 'examples/parselog.rs')
-rw-r--r-- | examples/parselog.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/parselog.rs b/examples/parselog.rs index 804c399..f4ae86a 100644 --- a/examples/parselog.rs +++ b/examples/parselog.rs @@ -9,7 +9,7 @@ use vtparse::{StateMachine, Parser}; struct Log; impl Parser for Log { - fn print(&mut self, _machine: &StateMachine, c: char) { + fn print(&mut self, c: char) { println!("[print] {:?}", c); } fn execute(&mut self, _machine: &StateMachine, byte: u8) { |