summaryrefslogtreecommitdiff
path: root/ecs/src/lock.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2025-03-18 13:21:46 +0100
committerHampusM <hampus@hampusmat.com>2025-03-18 13:21:46 +0100
commit7a7d3a350b22b5555c27debff6fee4fc6100fa38 (patch)
tree9eb96f2563264f51691e2a06a7b95f8b39904d18 /ecs/src/lock.rs
parentee7c0cb713891ae480407f56823289f3fe3b9807 (diff)
refactor(ecs): fix Clippy lintsHEADmaster
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,
{