Skip to content

Commit

Permalink
Update common_util/src/future_cancel.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ruixiang Tan <819464715@qq.com>
  • Loading branch information
ShiKaiWi and tanruixiang committed Jul 14, 2023
1 parent 36db352 commit 270acc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common_util/src/future_cancel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ mod tests {
*state = State::Cancelled;
});

// It may be cancelled at this await point.
// It will be cancelled at this await point.
let _lock_guard = cloned_lock.lock().await;
cancel_guard.uncancel();
let mut state = cloned_state.lock().unwrap();
Expand Down

0 comments on commit 270acc2

Please sign in to comment.