util: fix unused return warning

This commit is contained in:
Dario Nieuwenhuis 2021-08-04 19:38:05 +02:00
parent 07a095be0d
commit 250f1cd0a5

View File

@ -325,7 +325,7 @@ where
Ok(..) => Poll::Ready(Ok(())),
Err(TrySendError::Closed(m)) => Poll::Ready(Err(SendError(m))),
Err(TrySendError::Full(m)) => {
self.message.insert(m);
self.message = Some(m);
Poll::Pending
}
},