chore(dependencies): update pin-project to 0.4
This commit is contained in:
committed by
Sean McArthur
parent
d40978ce08
commit
bcb66736fb
@@ -254,11 +254,11 @@ where
|
||||
E: Into<Box<dyn StdError + Send + Sync>>,
|
||||
{
|
||||
#[project]
|
||||
fn poll2(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll<crate::Result<()>> {
|
||||
fn poll2(self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll<crate::Result<()>> {
|
||||
let mut me = self.project();
|
||||
loop {
|
||||
let mut me = self.project();
|
||||
#[project]
|
||||
let next = match me.state.project() {
|
||||
let next = match me.state.as_mut().project() {
|
||||
H2StreamState::Service(h) => {
|
||||
let res = match h.poll(cx) {
|
||||
Poll::Ready(Ok(r)) => r,
|
||||
|
||||
Reference in New Issue
Block a user