serialize: fix a warning
This commit is contained in:
parent
a011b2273e
commit
ce2824dafe
1 changed files with 1 additions and 1 deletions
|
@ -2991,7 +2991,7 @@ mod tests {
|
||||||
Some(e) => e,
|
Some(e) => e,
|
||||||
None => { break; }
|
None => { break; }
|
||||||
};
|
};
|
||||||
let (ref expected_evt, ref expected_stack) = *expected.get(i);
|
let (ref expected_evt, ref expected_stack) = expected[i];
|
||||||
if !parser.stack().is_equal_to(expected_stack.as_slice()) {
|
if !parser.stack().is_equal_to(expected_stack.as_slice()) {
|
||||||
fail!("Parser stack is not equal to {}", expected_stack);
|
fail!("Parser stack is not equal to {}", expected_stack);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue