fix clippy needless lifetimes (#769)
+ ignore them for bevy where we often want explicitness
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user