chore: new clippy lints (#4598)

This commit is contained in:
Matthias Seitz
2023-09-14 13:17:18 +02:00
committed by GitHub
parent 937269ecac
commit 09b5f1012c

View File

@ -130,13 +130,10 @@ where
let mut net = self;
let handle = tokio::task::spawn(async move {
let mut tx = None;
loop {
tokio::select! {
_ = &mut net => { break}
inc = rx => {
tx = inc.ok();
break
}
tokio::select! {
_ = &mut net => {}
inc = rx => {
tx = inc.ok();
}
}
if let Some(tx) = tx {