Removed lifetime tag from Semaphore implementation

This commit is contained in:
François Autin 2023-03-14 14:49:45 +01:00
parent eeb0e336c7
commit 03ac599c7f
No known key found for this signature in database
GPG Key ID: 343F5D382E1DD77C

View File

@ -18,7 +18,7 @@ pub struct Semaphore {
}
impl<'t> Semaphore {
impl Semaphore {
/// Decrement the value, and wait if it becomes < 0. Checking the
/// value and decrementing must be done atomically, so we