From b95e50fb1f803b05bda267d1e4f6bc2d7f3ff6cf Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Sun, 26 Feb 2023 11:07:38 +0100 Subject: [PATCH] Update quinn/src/recv_stream.rs Co-authored-by: Benjamin Saunders --- quinn/src/recv_stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quinn/src/recv_stream.rs b/quinn/src/recv_stream.rs index 46d6588e0..66adff24e 100644 --- a/quinn/src/recv_stream.rs +++ b/quinn/src/recv_stream.rs @@ -29,7 +29,7 @@ use crate::{ /// carried data. /// /// Even if the application layer logic already knows it read all the data because it does -/// its own framing, it must still read until it reaches the end of the [`RecvStream`]. +/// its own framing, it should still read until it reaches the end of the [`RecvStream`]. /// Otherwise it risks inadvertently calling [`RecvStream::stop`] if it drops the stream. /// And calling [`RecvStream::stop`] could result in the connected [`SendStream::finish`] /// call failing with a [`WriteError::Stopped`] error.