aboutsummaryrefslogtreecommitdiff
path: root/examples/parselog.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/parselog.rs')
-rw-r--r--examples/parselog.rs2
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) {