mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
clippy fixes
This commit is contained in:
parent
44c560713a
commit
a561cbaf64
12 changed files with 345 additions and 398 deletions
|
|
@ -65,7 +65,7 @@ fn re_encode_test(input_file: &str) {
|
|||
}
|
||||
let mut re_read = BitReadStream::new(BitReadBuffer::new(&out_buffer, LittleEndian));
|
||||
let re_decoded = Packet::parse(&mut re_read, &handler.state_handler)
|
||||
.expect(&format!("while parsing {:?}", packet.packet_type()));
|
||||
.unwrap_or_else(|_| panic!("while parsing {:?}", packet.packet_type()));
|
||||
assert_eq!(packet.packet_type(), re_decoded.packet_type());
|
||||
match (&packet, &re_decoded) {
|
||||
(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue