remove redundant closures

This commit is contained in:
daniel.eades 2023-11-16 17:36:21 +00:00 committed by Ashley Wulber
parent 6cb69bc63b
commit 3d81eb874f
4 changed files with 5 additions and 5 deletions

View file

@ -105,7 +105,7 @@ async fn start_listening(
if let Ok(ActiveConnectionState::Deactivated) = next
.get()
.await
.map(|p| ActiveConnectionState::from(p))
.map(ActiveConnectionState::from)
{
break;
}