From 110f2177e5491c815851a1a4c640618ddf159527 Mon Sep 17 00:00:00 2001 From: fakeshadow <24548779@qq.com> Date: Fri, 18 Dec 2020 08:23:12 +0800 Subject: [PATCH] fix comment --- actix-http/src/h1/dispatcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-http/src/h1/dispatcher.rs b/actix-http/src/h1/dispatcher.rs index 3292cbd59..5a2855b3c 100644 --- a/actix-http/src/h1/dispatcher.rs +++ b/actix-http/src/h1/dispatcher.rs @@ -497,7 +497,7 @@ where self.as_mut().project().state.set(State::ServiceCall(task)); continue; } - // future is pending. return NoOp state to notify that we already set + // future is pending. return None to notify that we already set // the state and it should not be updated again. Poll::Pending => return Ok(None), // future is error. send response and return a state on success to notify