shredder: clippy nightly fixes (#27522)

clippy nightly fixes
This commit is contained in:
apfitzge 2022-09-07 15:04:32 -05:00 committed by GitHub
parent 28f979b5a5
commit 452866dbcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ fn bench_shredder_decoding_raptorq(bencher: &mut Bencher) {
let mut result = None;
for packet in &packets {
result = decoder.decode(packet.clone());
if result != None {
if result.is_some() {
break;
}
}