mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: new clippy lints (#4598)
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user