aboutsummaryrefslogtreecommitdiff
path: root/src/io/split.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/split.rs')
-rw-r--r--src/io/split.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/io/split.rs b/src/io/split.rs
index 8258a0f..2e0da95 100644
--- a/src/io/split.rs
+++ b/src/io/split.rs
@@ -74,6 +74,7 @@ impl<T> ReadHalf<T> {
/// same `split` operation this method will panic.
/// This can be checked ahead of time by comparing the stream ID
/// of the two halves.
+ #[track_caller]
pub fn unsplit(self, wr: WriteHalf<T>) -> T {
if self.is_pair_of(&wr) {
drop(wr);