mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
commit
b9395808be
@ -66,7 +66,7 @@ impl<A, T> Future for ReadExact<A, T>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
State::Empty => panic!("poll a WriteAll after it's done"),
|
State::Empty => panic!("poll a ReadExact after it's done"),
|
||||||
}
|
}
|
||||||
|
|
||||||
match mem::replace(&mut self.state, State::Empty) {
|
match mem::replace(&mut self.state, State::Empty) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user