From 17c295680ef2315b27c2c69ce58f1c1d21bc138c Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Fri, 20 Mar 2015 08:47:48 -0700 Subject: [PATCH] Remove an unused variable --- benches/bench_struct.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/bench_struct.rs b/benches/bench_struct.rs index c77a782d..4629cc53 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), } }