mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-22 11:13:44 +00:00
improve description of effect of calling stop
This commit is contained in:
committed by
Benjamin Saunders
parent
b833c0e626
commit
162032d184
@@ -59,7 +59,8 @@ use crate::{
|
||||
/// ```
|
||||
///
|
||||
/// Note that in this example the receiver sends an error to the sender if it received some
|
||||
/// unexpected data, forcing the stream to finish in an error state.
|
||||
/// unexpected data, interrupting any further attempts to send data. But crucially only
|
||||
/// after it attempted to read the end of the stream.
|
||||
///
|
||||
/// [`ReadError`]: crate::ReadError
|
||||
/// [`stop()`]: RecvStream::stop
|
||||
|
||||
Reference in New Issue
Block a user