Removed lifetime tag from Semaphore implementation
This commit is contained in:
parent
eeb0e336c7
commit
03ac599c7f
@ -18,7 +18,7 @@ pub struct Semaphore {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'t> Semaphore {
|
impl Semaphore {
|
||||||
|
|
||||||
/// Decrement the value, and wait if it becomes < 0. Checking the
|
/// Decrement the value, and wait if it becomes < 0. Checking the
|
||||||
/// value and decrementing must be done atomically, so we
|
/// value and decrementing must be done atomically, so we
|
||||||
|
Loading…
Reference in New Issue
Block a user