mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
fix typo in panic message
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user