diff options
| author | Thierry Berger <contact@thierryberger.com> | 2024-12-05 15:55:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-05 15:55:12 +0100 |
| commit | 93bd37d814d0156126bdb48697396ff7ab4b6157 (patch) | |
| tree | 217de5302018b913a065c5164a23b5f1a15ef1cf /src/pipeline/query_pipeline/generators.rs | |
| parent | bce786831c56766fbb7971828928d973dae8ed3e (diff) | |
| download | rapier-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.rs | 6 |
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() } |
