sync: fix typo in batch semaphore (#5789)

This commit is contained in:
icedrocket 2023-06-12 22:43:12 +09:00 committed by GitHub
parent af6c87a045
commit b7290910f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,