tweak doc

This commit is contained in:
Alex Butler 2023-06-17 11:25:27 +01:00 committed by Sebastian Dröge
parent 0126692c38
commit 968d9d32f8
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ where
}
Err(WsError::Io(err)) if err.kind() == std::io::ErrorKind::WouldBlock => {
// the message was accepted and queued so not an error
// but `poll_ready` will start returning pending now.
// but `poll_ready` will now start trying to flush the block
self.ready = false;
Ok(())
}