Skip to content

Commit

Permalink
Update src/lib.rs
Browse files Browse the repository at this point in the history
Fix a typo in the comment.

Co-authored-by: Sebastian Dröge <sebastian@centricular.com>
  • Loading branch information
daniel-abramov and sdroege committed Mar 22, 2022
1 parent 5a1f60c commit 9b9526e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ where
fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
trace!("{}:{} Stream.poll_next", file!(), line!());

// The connection has been closed or the critical error has occurred.
// The connection has been closed or a critical error has occurred.
// We have already returned the error to the user, the `Stream` is unusable,
// so we assume that the stream has been "fused".
if self.ended {
Expand Down

0 comments on commit 9b9526e

Please sign in to comment.