util: deduplicate implementations of poll_read_buf() (#3064)

This commit is contained in:
Dirkjan Ochtman
2020-10-29 13:20:38 +01:00
committed by GitHub
parent 34eb47dde5
commit a3ef4e4cf5
3 changed files with 1 additions and 93 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ where
fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
let this = &mut *self;
super::poll_read_buf(Pin::new(this.0), cx, this.1)
crate::util::poll_read_buf(cx, Pin::new(this.0), this.1)
}
}
}