mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-19 00:00:09 +02:00
sync: fix typo in batch semaphore (#5789)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user