mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
sync: fix typo in batch semaphore (#5789)
This commit is contained in:
parent
af6c87a045
commit
b7290910f7
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user