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

This commit is contained in:
Kevin Reid
2024-04-20 14:21:31 +09:00
committed by GitHub
parent f3bfed30eb
commit 125a185749
+1 -2
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