core/muxing: Rename close to poll_close (#2666)

It is common practise to prefix functions that return a `Poll` with
`poll_`.
This commit is contained in:
Thomas Eizinger
2022-05-29 16:27:40 +02:00
committed by GitHub
parent 8361fabb47
commit 25c8bc24de
9 changed files with 16 additions and 14 deletions

View File

@ -32,7 +32,7 @@ where
loop {
match std::mem::replace(&mut self.state, CloseMuxerState::Done) {
CloseMuxerState::Close(muxer) => {
if !muxer.close(cx)?.is_ready() {
if !muxer.poll_close(cx)?.is_ready() {
self.state = CloseMuxerState::Close(muxer);
return Poll::Pending;
}