Skip to content

Commit 7a08b40

Browse files
committed
fuxx: fix clippy
1 parent 4bc7797 commit 7a08b40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

negentropy/fuzz/harness/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ fn main() {
5555
println!("need,{}", id.to_hex());
5656
}
5757

58-
if resp.is_none() {
58+
if let Some(resp) = resp {
59+
q = resp.to_hex();
60+
} else {
5961
println!("done");
6062
continue;
61-
} else {
62-
q = resp.unwrap().to_hex();
6363
}
6464
} else {
6565
q = ne.reconcile(&Bytes::from_hex(q).unwrap()).unwrap().to_hex();

0 commit comments

Comments
 (0)