1
Fork 0

serialize: fix a warning

This commit is contained in:
Erick Tryzelaar 2014-07-25 07:20:55 -07:00
parent a011b2273e
commit ce2824dafe

View file

@ -2991,7 +2991,7 @@ mod tests {
Some(e) => e,
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()) {
fail!("Parser stack is not equal to {}", expected_stack);
}