Skip to content

Commit

Permalink
sync: fix typo in batch semaphore (#5789)
Browse files Browse the repository at this point in the history
  • Loading branch information
icedrocket authored Jun 12, 2023
1 parent af6c87a commit b729091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/sync/batch_semaphore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ impl Semaphore {

match self.permits.compare_exchange(curr, next, AcqRel, Acquire) {
Ok(_) => {
// TODO: Instrument once issue has been solved}
// TODO: Instrument once issue has been solved
return Ok(());
}
Err(actual) => curr = actual,
Expand Down

0 comments on commit b729091

Please sign in to comment.