Skip to content

Commit 07457b4

Browse files
Fix clippy lint
1 parent e487533 commit 07457b4

File tree

1 file changed

+1
-1
lines changed
  • futures-channel/src/mpsc

1 file changed

+1
-1
lines changed

futures-channel/src/mpsc/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ impl<T> BoundedSenderInner<T> {
632632

633633
// If there are messages in the channel, we must park the task unconditionally.
634634
self.sender_task.lock().unwrap().task = Some(cx.waker().clone());
635-
return Poll::Pending;
635+
Poll::Pending
636636
}
637637

638638
/// Returns whether the senders send to the same receiver.

0 commit comments

Comments
 (0)