diff --git a/actix-http/src/h1/dispatcher.rs b/actix-http/src/h1/dispatcher.rs index 78196170b..3292cbd59 100644 --- a/actix-http/src/h1/dispatcher.rs +++ b/actix-http/src/h1/dispatcher.rs @@ -127,8 +127,6 @@ where ExpectCall(#[pin] X::Future), ServiceCall(#[pin] S::Future), SendPayload(#[pin] ResponseBody), - // A special state hinting the state should not be updated. - NoOp, } impl State @@ -444,9 +442,6 @@ where } continue; } - StateProj::NoOp => { - unreachable!("State::NoOp is only used in handle_request method") - } }; this = self.as_mut().project();