Make elided lifetimes explicit

This commit is contained in:
2025-08-18 12:47:45 +02:00
parent 90843416e3
commit 28d67e871c
2 changed files with 7 additions and 7 deletions

View File

@@ -163,7 +163,7 @@ impl MutexId {
/// # Panics
///
/// This method panics if the new dependency would introduce a cycle.
pub fn get_borrowed(&self) -> BorrowedMutex {
pub fn get_borrowed(&self) -> BorrowedMutex<'_> {
self.mark_held();
BorrowedMutex {
id: self,