Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-Bertholet committed Dec 11, 2023
1 parent 9b7abd1 commit 612bb84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/semaphore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ impl Semaphore {
Ordering::AcqRel,
Ordering::Acquire,
) {
Ok(_) => return Some(SemaphoreGuardArc(self.clone())),
Ok(_) => return Some(SemaphoreGuardArc(Some(self.clone()))),
Err(c) => count = c,
}
}
Expand Down

0 comments on commit 612bb84

Please sign in to comment.