Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ pub mod channel {
/// then the sender will be closed and further sends will return an [`SendError::Io`]
/// with [`std::io::ErrorKind::BrokenPipe`]. Therefore, make sure to always poll the
/// future until completion if you want to reuse the sender or any clone afterwards.
pub async fn try_send(&mut self, value: T) -> std::result::Result<bool, SendError> {
pub async fn try_send(&self, value: T) -> std::result::Result<bool, SendError> {
match self {
Sender::Tokio(tx) => match tx.try_send(value) {
Ok(()) => Ok(true),
Expand Down
Loading