fix comment

This commit is contained in:
fakeshadow 2021-02-08 13:43:25 -08:00
parent e2d4ea6a66
commit 35c0a8dfe8
1 changed files with 1 additions and 1 deletions

View File

@ -517,7 +517,7 @@ where
F: Future<Output = Result<(Io, Protocol), ConnectError>> + 'static, F: Future<Output = Result<(Io, Protocol), ConnectError>> + 'static,
{ {
// OpenWaitingConnection would guard the spawn task and release // OpenWaitingConnection would guard the spawn task and release
// permission/wake up support future when spawn task is canceled/generated error. // permission/wake up support future when spawn task is canceled.
let mut guard = OpenWaitingConnection { inner: Some(inner) }; let mut guard = OpenWaitingConnection { inner: Some(inner) };
actix_rt::spawn(async move { actix_rt::spawn(async move {