Skip to content
Snippets Groups Projects
Verified Commit 7331f179 authored by Dmitry Markin's avatar Dmitry Markin
Browse files

Fix clippy

parent f3e3a694
No related merge requests found
Pipeline #462703 failed with stages
in 1 hour, 10 minutes, and 14 seconds
...@@ -460,7 +460,7 @@ impl NetworkBehaviour for PeerInfoBehaviour { ...@@ -460,7 +460,7 @@ impl NetworkBehaviour for PeerInfoBehaviour {
cx: &mut Context, cx: &mut Context,
params: &mut impl PollParameters, params: &mut impl PollParameters,
) -> Poll<ToSwarm<Self::ToSwarm, THandlerInEvent<Self>>> { ) -> Poll<ToSwarm<Self::ToSwarm, THandlerInEvent<Self>>> {
while let Some(event) = self.pending_actions.pop_front() { if let Some(event) = self.pending_actions.pop_front() {
return Poll::Ready(event) return Poll::Ready(event)
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment