Why Clippy says this loop will never actually loop?
The Rust Programming Language Forum
Why Clippy says this loop will never actually loop?
I think this is a Clippy error, because everything works as expected, but I can't stop guessing if there is a subtle error in my code: pub async fn run(mut self) { tracing::info!("Redis host task started"); 'exit: loop { let mut evt_connection = self.get_redis_connection().await; loop { tokio::select! { // Process messages from OPTAs. Some(msg) = self.rx.recv() => { match msg { RedisH...
0 comments
No comments yet.