mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
fix typo in panic message
This commit is contained in:
parent
3715e62471
commit
32557cd832
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user