mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 18:55:32 +00:00
fix more clippy warnings
This commit is contained in:
parent
aabdf76a5d
commit
561cc3db55
16 changed files with 83 additions and 106 deletions
|
|
@ -48,12 +48,9 @@ pub fn bench_connect_handler(
|
|||
let total = bench_config.num_connect_requests * (round + 1);
|
||||
|
||||
while num_responses < total {
|
||||
match response_receiver.recv(){
|
||||
Ok((Response::Connect(r), _)) => {
|
||||
num_responses += 1;
|
||||
dummy ^= r.connection_id.0;
|
||||
},
|
||||
_ => {}
|
||||
if let Ok((Response::Connect(r), _)) = response_receiver.recv(){
|
||||
num_responses += 1;
|
||||
dummy ^= r.connection_id.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue