Skip to content

Commit

Permalink
[chore] remove clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
woxjro committed Jan 11, 2024
1 parent 3a79d66 commit f1f0e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ async fn start_ui<B: Backend>(
}

#[tokio::main]
async fn start_tokio<'a>(io_rx: std::sync::mpsc::Receiver<IoEvent>, network: &mut Network) {
async fn start_tokio(io_rx: std::sync::mpsc::Receiver<IoEvent>, network: &mut Network) {
while let Ok(io_event) = io_rx.recv() {
network.handle_network_event(io_event).await;
}
Expand Down

0 comments on commit f1f0e4f

Please sign in to comment.