fix clippy needless lifetimes (#769)

+ ignore them for bevy where we often want explicitness
This commit is contained in:
Thierry Berger
2024-12-05 15:55:12 +01:00
committed by GitHub
parent bce786831c
commit 93bd37d814
14 changed files with 38 additions and 26 deletions

View File

@@ -18,7 +18,7 @@ pub(crate) trait PairInteraction {
use crate::dynamics::RigidBodyType;
#[cfg(feature = "parallel")]
impl<'a> PairInteraction for &'a mut ContactManifold {
impl PairInteraction for &mut ContactManifold {
fn body_pair(&self) -> (Option<RigidBodyHandle>, Option<RigidBodyHandle>) {
(self.data.rigid_body1, self.data.rigid_body2)
}