@@ -52,19 +52,19 @@ impl SpatialQueryPipeline {
5252 pub ( crate ) fn as_composite_shape < ' a > (
5353 & ' a self ,
5454 query_filter : & ' a SpatialQueryFilter ,
55- ) -> QueryPipelineAsCompositeShape {
55+ ) -> QueryPipelineAsCompositeShape < ' a > {
5656 QueryPipelineAsCompositeShape {
5757 pipeline : self ,
5858 colliders : & self . colliders ,
5959 query_filter,
6060 }
6161 }
6262
63- pub ( crate ) fn as_composite_shape_with_predicate < ' a > (
63+ pub ( crate ) fn as_composite_shape_with_predicate < ' a : ' b , ' b > (
6464 & ' a self ,
6565 query_filter : & ' a SpatialQueryFilter ,
6666 predicate : & ' a dyn Fn ( Entity ) -> bool ,
67- ) -> QueryPipelineAsCompositeShapeWithPredicate {
67+ ) -> QueryPipelineAsCompositeShapeWithPredicate < ' a , ' b > {
6868 QueryPipelineAsCompositeShapeWithPredicate {
6969 pipeline : self ,
7070 colliders : & self . colliders ,
@@ -124,7 +124,7 @@ impl SpatialQueryPipeline {
124124 & ' a HashMap < Entity , ( Isometry < Scalar > , Collider , CollisionLayers ) > ,
125125 ) ;
126126
127- impl < ' a > parry:: partitioning:: QbvhDataGenerator < u32 > for DataGenerator < ' a > {
127+ impl parry:: partitioning:: QbvhDataGenerator < u32 > for DataGenerator < ' _ > {
128128 fn size_hint ( & self ) -> usize {
129129 self . 0 . len ( )
130130 }
@@ -812,7 +812,7 @@ pub(crate) struct QueryPipelineAsCompositeShape<'a> {
812812 query_filter : & ' a SpatialQueryFilter ,
813813}
814814
815- impl < ' a > TypedSimdCompositeShape for QueryPipelineAsCompositeShape < ' a > {
815+ impl TypedSimdCompositeShape for QueryPipelineAsCompositeShape < ' _ > {
816816 type PartShape = dyn Shape ;
817817 type PartNormalConstraints = dyn NormalConstraints ;
818818 type PartId = u32 ;
@@ -858,7 +858,7 @@ pub(crate) struct QueryPipelineAsCompositeShapeWithPredicate<'a, 'b> {
858858 predicate : & ' b dyn Fn ( Entity ) -> bool ,
859859}
860860
861- impl < ' a , ' b > TypedSimdCompositeShape for QueryPipelineAsCompositeShapeWithPredicate < ' a , ' b > {
861+ impl TypedSimdCompositeShape for QueryPipelineAsCompositeShapeWithPredicate < ' _ , ' _ > {
862862 type PartShape = dyn Shape ;
863863 type PartNormalConstraints = dyn NormalConstraints ;
864864 type PartId = u32 ;
0 commit comments