aboutsummaryrefslogtreecommitdiff
path: root/src/pipeline/query_pipeline/generators.rs
diff options
context:
space:
mode:
authorThierry Berger <contact@thierryberger.com>2024-12-05 15:55:12 +0100
committerGitHub <noreply@github.com>2024-12-05 15:55:12 +0100
commit93bd37d814d0156126bdb48697396ff7ab4b6157 (patch)
tree217de5302018b913a065c5164a23b5f1a15ef1cf /src/pipeline/query_pipeline/generators.rs
parentbce786831c56766fbb7971828928d973dae8ed3e (diff)
downloadrapier-93bd37d814d0156126bdb48697396ff7ab4b6157.tar.gz
rapier-93bd37d814d0156126bdb48697396ff7ab4b6157.tar.bz2
rapier-93bd37d814d0156126bdb48697396ff7ab4b6157.zip
fix clippy needless lifetimes (#769)
+ ignore them for bevy where we often want explicitness
Diffstat (limited to 'src/pipeline/query_pipeline/generators.rs')
-rw-r--r--src/pipeline/query_pipeline/generators.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pipeline/query_pipeline/generators.rs b/src/pipeline/query_pipeline/generators.rs
index 5e5146b..4a08bbf 100644
--- a/src/pipeline/query_pipeline/generators.rs
+++ b/src/pipeline/query_pipeline/generators.rs
@@ -30,7 +30,7 @@ pub struct SweptAabbWithPredictedPosition<'a> {
/// You probably want to set it to [`IntegrationParameters::dt`].
pub dt: Real,
}
-impl<'a> QbvhDataGenerator<ColliderHandle> for SweptAabbWithPredictedPosition<'a> {
+impl QbvhDataGenerator<ColliderHandle> for SweptAabbWithPredictedPosition<'_> {
fn size_hint(&self) -> usize {
self.colliders.len()
}
@@ -68,7 +68,7 @@ pub struct SweptAabbWithNextPosition<'a> {
pub colliders: &'a ColliderSet,
}
-impl<'a> QbvhDataGenerator<ColliderHandle> for SweptAabbWithNextPosition<'a> {
+impl QbvhDataGenerator<ColliderHandle> for SweptAabbWithNextPosition<'_> {
fn size_hint(&self) -> usize {
self.colliders.len()
}
@@ -96,7 +96,7 @@ pub struct CurrentAabb<'a> {
pub colliders: &'a ColliderSet,
}
-impl<'a> QbvhDataGenerator<ColliderHandle> for CurrentAabb<'a> {
+impl QbvhDataGenerator<ColliderHandle> for CurrentAabb<'_> {
fn size_hint(&self) -> usize {
self.colliders.len()
}