Skip to content

Commit b8fe02c

Browse files
committed
lints
1 parent f25787d commit b8fe02c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/network/src/manager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ impl Stream for NetworkManager {
211211
}
212212

213213
// Next we handle the scroll-wire events.
214-
while let Poll::Ready(event) = this.scroll_wire.poll_unpin(cx) {
214+
if let Poll::Ready(event) = this.scroll_wire.poll_unpin(cx) {
215215
return std::task::Poll::Ready(Some(this.on_scroll_wire_event(event)));
216216
}
217217

0 commit comments

Comments
 (0)