summaryrefslogtreecommitdiff
path: root/ecs/src/lock.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ecs/src/lock.rs')
-rw-r--r--ecs/src/lock.rs20
1 files changed, 10 insertions, 10 deletions
diff --git a/ecs/src/lock.rs b/ecs/src/lock.rs
index c700098..1ce13fc 100644
--- a/ecs/src/lock.rs
+++ b/ecs/src/lock.rs
@@ -114,7 +114,7 @@ where
}
}
-impl<'guard, Value> Deref for ReadGuard<'guard, Value>
+impl<Value> Deref for ReadGuard<'_, Value>
where
Value: TypeName,
{
@@ -126,7 +126,7 @@ where
}
}
-impl<'guard, Value> Drop for ReadGuard<'guard, Value>
+impl<Value> Drop for ReadGuard<'_, Value>
where
Value: TypeName,
{
@@ -144,7 +144,7 @@ where
inner: MappedRwLockReadGuard<'guard, Value>,
}
-impl<'guard, Value> Deref for MappedReadGuard<'guard, Value>
+impl<Value> Deref for MappedReadGuard<'_, Value>
where
Value: TypeName,
{
@@ -156,7 +156,7 @@ where
}
}
-impl<'guard, Value> Drop for MappedReadGuard<'guard, Value>
+impl<Value> Drop for MappedReadGuard<'_, Value>
where
Value: TypeName,
{
@@ -196,7 +196,7 @@ where
}
}
-impl<'guard, Value> Deref for WriteGuard<'guard, Value>
+impl<Value> Deref for WriteGuard<'_, Value>
where
Value: TypeName,
{
@@ -208,7 +208,7 @@ where
}
}
-impl<'guard, Value> DerefMut for WriteGuard<'guard, Value>
+impl<Value> DerefMut for WriteGuard<'_, Value>
where
Value: TypeName,
{
@@ -218,7 +218,7 @@ where
}
}
-impl<'guard, Value> Drop for WriteGuard<'guard, Value>
+impl<Value> Drop for WriteGuard<'_, Value>
where
Value: TypeName,
{
@@ -236,7 +236,7 @@ where
inner: MappedRwLockWriteGuard<'guard, Value>,
}
-impl<'guard, Value> Deref for MappedWriteGuard<'guard, Value>
+impl<Value> Deref for MappedWriteGuard<'_, Value>
where
Value: TypeName,
{
@@ -248,7 +248,7 @@ where
}
}
-impl<'guard, Value> DerefMut for MappedWriteGuard<'guard, Value>
+impl<Value> DerefMut for MappedWriteGuard<'_, Value>
where
Value: TypeName,
{
@@ -258,7 +258,7 @@ where
}
}
-impl<'guard, Value> Drop for MappedWriteGuard<'guard, Value>
+impl<Value> Drop for MappedWriteGuard<'_, Value>
where
Value: TypeName,
{