Skip to content

Commit

Permalink
serialize: fix a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
erickt committed Jul 29, 2014
1 parent a011b22 commit ce2824d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libserialize/json.rs
Expand Up @@ -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);
}
Expand Down

0 comments on commit ce2824d

Please sign in to comment.