diff --git a/benches/bench_struct.rs b/benches/bench_struct.rs index c77a782db..4629cc53f 100644 --- a/benches/bench_struct.rs +++ b/benches/bench_struct.rs @@ -399,7 +399,7 @@ mod deserializer { Some(State::OptionState(true)) => { visitor.visit_some(self) } - Some(token) => Err(Error::SyntaxError), + Some(_) => Err(Error::SyntaxError), None => Err(Error::EndOfStream), } }