diff --git a/src/gallium/frontends/rusticl/core/semaphore.rs b/src/gallium/frontends/rusticl/core/semaphore.rs index 55d78d9e886..f744d47d241 100644 --- a/src/gallium/frontends/rusticl/core/semaphore.rs +++ b/src/gallium/frontends/rusticl/core/semaphore.rs @@ -273,7 +273,7 @@ impl Semaphore { Ok(()) } - fn state(&self) -> MutexGuard { + fn state(&self) -> MutexGuard<'_, SemaphoreState> { self.state.lock().unwrap() } }