fix comment

This commit is contained in:
fakeshadow 2020-12-18 08:23:12 +08:00
parent 0e2e9a365d
commit 110f2177e5
1 changed files with 1 additions and 1 deletions

View File

@ -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