io: fix obsolete reference in ReadHalf::unsplit() documentation (#6498)

This commit is contained in:
Kevin Reid 2024-04-19 22:21:31 -07:00 committed by GitHub
parent f3bfed30eb
commit 125a185749
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -79,8 +79,7 @@ impl<T> ReadHalf<T> {
///
/// If this `ReadHalf` and the given `WriteHalf` do not originate from the
/// same `split` operation this method will panic.
/// This can be checked ahead of time by comparing the stream ID
/// of the two halves.
/// This can be checked ahead of time by calling [`is_pair_of()`](Self::is_pair_of).
#[track_caller]
pub fn unsplit(self, wr: WriteHalf<T>) -> T
where