@@ -359,7 +359,7 @@ impl<N: Idx> RegionValues<N> {
359359 }
360360
361361 /// Returns the locations contained within a given region `r`.
362- pub ( crate ) fn locations_outlived_by < ' a > ( & ' a self , r : N ) -> impl Iterator < Item = Location > {
362+ pub ( crate ) fn locations_outlived_by ( & self , r : N ) -> impl Iterator < Item = Location > {
363363 self . points . row ( r) . into_iter ( ) . flat_map ( move |set| {
364364 set. iter ( )
365365 . take_while ( move |& p| self . elements . point_in_range ( p) )
@@ -368,16 +368,13 @@ impl<N: Idx> RegionValues<N> {
368368 }
369369
370370 /// Returns just the universal regions that are contained in a given region's value.
371- pub ( crate ) fn universal_regions_outlived_by < ' a > (
372- & ' a self ,
373- r : N ,
374- ) -> impl Iterator < Item = RegionVid > {
371+ pub ( crate ) fn universal_regions_outlived_by ( & self , r : N ) -> impl Iterator < Item = RegionVid > {
375372 self . free_regions . row ( r) . into_iter ( ) . flat_map ( |set| set. iter ( ) )
376373 }
377374
378375 /// Returns all the elements contained in a given region's value.
379- pub ( crate ) fn placeholders_contained_in < ' a > (
380- & ' a self ,
376+ pub ( crate ) fn placeholders_contained_in (
377+ & self ,
381378 r : N ,
382379 ) -> impl Iterator < Item = ty:: PlaceholderRegion > {
383380 self . placeholders
@@ -388,7 +385,7 @@ impl<N: Idx> RegionValues<N> {
388385 }
389386
390387 /// Returns all the elements contained in a given region's value.
391- pub ( crate ) fn elements_contained_in < ' a > ( & ' a self , r : N ) -> impl Iterator < Item = RegionElement > {
388+ pub ( crate ) fn elements_contained_in ( & self , r : N ) -> impl Iterator < Item = RegionElement > {
392389 let points_iter = self . locations_outlived_by ( r) . map ( RegionElement :: Location ) ;
393390
394391 let free_regions_iter =
0 commit comments