Fix compiling bench_struct
This commit is contained in:
parent
7bd4c6963b
commit
a212ef11a9
@ -535,7 +535,7 @@ mod deserializer {
|
||||
}
|
||||
|
||||
fn end(&mut self) -> Result<(), Error> {
|
||||
if self.state == 1 {
|
||||
if self.state == 3 {
|
||||
Ok(())
|
||||
} else {
|
||||
Err(Error::SyntaxError)
|
||||
|
Loading…
x
Reference in New Issue
Block a user