提交 ce2824da 编写于 作者: E Erick Tryzelaar

serialize: fix a warning

上级 a011b227
......@@ -2991,7 +2991,7 @@ fn assert_stream_equal(src: &str,
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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册