mirror of https://github.com/fafhrd91/actix-web
fix comment
This commit is contained in:
parent
0e2e9a365d
commit
110f2177e5
|
@ -497,7 +497,7 @@ where
|
||||||
self.as_mut().project().state.set(State::ServiceCall(task));
|
self.as_mut().project().state.set(State::ServiceCall(task));
|
||||||
continue;
|
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.
|
// the state and it should not be updated again.
|
||||||
Poll::Pending => return Ok(None),
|
Poll::Pending => return Ok(None),
|
||||||
// future is error. send response and return a state on success to notify
|
// future is error. send response and return a state on success to notify
|
||||||
|
|
Loading…
Reference in New Issue