We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0db3188 commit ca56cd8Copy full SHA for ca56cd8
src/lib.rs
@@ -712,7 +712,7 @@ pub mod channel {
712
/// then the sender will be closed and further sends will return an [`SendError::Io`]
713
/// with [`std::io::ErrorKind::BrokenPipe`]. Therefore, make sure to always poll the
714
/// future until completion if you want to reuse the sender or any clone afterwards.
715
- 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> {
716
match self {
717
Sender::Tokio(tx) => match tx.try_send(value) {
718
Ok(()) => Ok(true),
0 commit comments