@@ -228,13 +228,13 @@ pub struct MapSeqMap<'a, K, V, S> {
228
228
map : usize ,
229
229
}
230
230
231
- impl < ' a , K , V , S > Clone for MapSeqMap < ' a , K , V , S > {
231
+ impl < K , V , S > Clone for MapSeqMap < ' _ , K , V , S > {
232
232
fn clone ( & self ) -> Self {
233
233
* self
234
234
}
235
235
}
236
236
237
- impl < ' a , K , V , S > Copy for MapSeqMap < ' a , K , V , S > { }
237
+ impl < K , V , S > Copy for MapSeqMap < ' _ , K , V , S > { }
238
238
239
239
impl < ' a , K , V , S > std:: ops:: Deref for MapSeqMapMut < ' a , K , V , S > {
240
240
type Target = MapSeqMap < ' a , K , V , S > ;
@@ -246,13 +246,13 @@ impl<'a, K, V, S> std::ops::Deref for MapSeqMapMut<'a, K, V, S> {
246
246
}
247
247
}
248
248
249
- impl < ' a , K : fmt:: Debug , V : fmt:: Debug , S > fmt:: Debug for MapSeqMap < ' a , K , V , S > {
249
+ impl < K : fmt:: Debug , V : fmt:: Debug , S > fmt:: Debug for MapSeqMap < ' _ , K , V , S > {
250
250
fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
251
251
f. debug_set ( ) . entries ( self . iter ( ) ) . finish ( )
252
252
}
253
253
}
254
254
255
- impl < ' a , K : fmt:: Debug , V : fmt:: Debug , S > fmt:: Debug for MapSeqMapMut < ' a , K , V , S > {
255
+ impl < K : fmt:: Debug , V : fmt:: Debug , S > fmt:: Debug for MapSeqMapMut < ' _ , K , V , S > {
256
256
fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
257
257
f. debug_set ( ) . entries ( self . iter ( ) ) . finish ( )
258
258
}
@@ -296,7 +296,7 @@ impl<'a, K, V, S> MapSeqMap<'a, K, V, S> {
296
296
}
297
297
}
298
298
299
- impl < ' a , K , V , S > MapSeqMapMut < ' a , K , V , S > {
299
+ impl < K , V , S > MapSeqMapMut < ' _ , K , V , S > {
300
300
/// Discards all elements of the map.
301
301
#[ inline( always) ]
302
302
pub fn clear ( & mut self ) {
@@ -319,7 +319,7 @@ impl<'a, K, V, S> MapSeqMapMut<'a, K, V, S> {
319
319
}
320
320
}
321
321
322
- impl < ' a , K : Eq + Hash , V , S : BuildHasher > MapSeqMap < ' a , K , V , S > {
322
+ impl < K : Eq + Hash , V , S : BuildHasher > MapSeqMap < ' _ , K , V , S > {
323
323
/// Returns `true` if the map contains an element for the given key.
324
324
#[ inline( always) ]
325
325
pub fn contains_key < Q > ( & self , key : & Q ) -> bool
@@ -353,7 +353,7 @@ impl<'a, K: Eq + Hash, V, S: BuildHasher> MapSeqMap<'a, K, V, S> {
353
353
}
354
354
}
355
355
356
- impl < ' a , K : Eq + Hash , V , S : BuildHasher > MapSeqMapMut < ' a , K , V , S > {
356
+ impl < K : Eq + Hash , V , S : BuildHasher > MapSeqMapMut < ' _ , K , V , S > {
357
357
/// Returns a mutable reference to the value corresponding to the given key.
358
358
#[ inline( always) ]
359
359
pub fn get_mut < Q > ( & mut self , key : & Q ) -> Option < & mut V >
@@ -545,7 +545,7 @@ pub struct MapIter<'a, K, V> {
545
545
inner : SubtableIter < ' a , MapEntry < K , V > > ,
546
546
}
547
547
548
- impl < ' a , K , V > Default for MapIter < ' a , K , V > {
548
+ impl < K , V > Default for MapIter < ' _ , K , V > {
549
549
#[ inline( always) ]
550
550
fn default ( ) -> Self {
551
551
Self {
@@ -568,7 +568,7 @@ impl<'a, K, V> Iterator for MapIter<'a, K, V> {
568
568
}
569
569
}
570
570
571
- impl < ' a , K , V > ExactSizeIterator for MapIter < ' a , K , V > {
571
+ impl < K , V > ExactSizeIterator for MapIter < ' _ , K , V > {
572
572
#[ inline( always) ]
573
573
fn len ( & self ) -> usize {
574
574
self . inner . len ( )
@@ -580,7 +580,7 @@ pub struct MapKeys<'a, K, V> {
580
580
inner : SubtableIter < ' a , MapEntry < K , V > > ,
581
581
}
582
582
583
- impl < ' a , K , V > Default for MapKeys < ' a , K , V > {
583
+ impl < K , V > Default for MapKeys < ' _ , K , V > {
584
584
#[ inline( always) ]
585
585
fn default ( ) -> Self {
586
586
Self {
@@ -603,7 +603,7 @@ impl<'a, K, V> Iterator for MapKeys<'a, K, V> {
603
603
}
604
604
}
605
605
606
- impl < ' a , K , V > ExactSizeIterator for MapKeys < ' a , K , V > {
606
+ impl < K , V > ExactSizeIterator for MapKeys < ' _ , K , V > {
607
607
#[ inline( always) ]
608
608
fn len ( & self ) -> usize {
609
609
self . inner . len ( )
@@ -615,7 +615,7 @@ pub struct MapValues<'a, K, V> {
615
615
inner : SubtableIter < ' a , MapEntry < K , V > > ,
616
616
}
617
617
618
- impl < ' a , K , V > Default for MapValues < ' a , K , V > {
618
+ impl < K , V > Default for MapValues < ' _ , K , V > {
619
619
#[ inline( always) ]
620
620
fn default ( ) -> Self {
621
621
Self {
@@ -638,7 +638,7 @@ impl<'a, K, V> Iterator for MapValues<'a, K, V> {
638
638
}
639
639
}
640
640
641
- impl < ' a , K , V > ExactSizeIterator for MapValues < ' a , K , V > {
641
+ impl < K , V > ExactSizeIterator for MapValues < ' _ , K , V > {
642
642
#[ inline( always) ]
643
643
fn len ( & self ) -> usize {
644
644
self . inner . len ( )
@@ -650,7 +650,7 @@ pub struct MapIterMut<'a, K, V> {
650
650
inner : SubtableIterMut < ' a , MapEntry < K , V > > ,
651
651
}
652
652
653
- impl < ' a , K , V > Default for MapIterMut < ' a , K , V > {
653
+ impl < K , V > Default for MapIterMut < ' _ , K , V > {
654
654
#[ inline( always) ]
655
655
fn default ( ) -> Self {
656
656
Self {
@@ -675,7 +675,7 @@ impl<'a, K, V> Iterator for MapIterMut<'a, K, V> {
675
675
}
676
676
}
677
677
678
- impl < ' a , K , V > ExactSizeIterator for MapIterMut < ' a , K , V > {
678
+ impl < K , V > ExactSizeIterator for MapIterMut < ' _ , K , V > {
679
679
#[ inline( always) ]
680
680
fn len ( & self ) -> usize {
681
681
self . inner . len ( )
@@ -700,7 +700,7 @@ impl<'a, K, V, S> IntoIterator for MapSeqMapMut<'a, K, V, S> {
700
700
}
701
701
}
702
702
703
- impl < ' a , K , V , S > Extend < ( K , V ) > for MapSeqMapMut < ' a , K , V , S >
703
+ impl < K , V , S > Extend < ( K , V ) > for MapSeqMapMut < ' _ , K , V , S >
704
704
where
705
705
K : Eq + Hash ,
706
706
S : BuildHasher ,
@@ -712,7 +712,7 @@ where
712
712
}
713
713
}
714
714
715
- impl < ' a , ' b , K , V , S > Extend < ( & ' b K , & ' b V ) > for MapSeqMapMut < ' a , K , V , S >
715
+ impl < ' b , K , V , S > Extend < ( & ' b K , & ' b V ) > for MapSeqMapMut < ' _ , K , V , S >
716
716
where
717
717
K : Eq + Hash + Copy ,
718
718
V : Copy ,
@@ -725,7 +725,7 @@ where
725
725
}
726
726
}
727
727
728
- impl < ' a , K , Q , V , S > std:: ops:: Index < & Q > for MapSeqMap < ' a , K , V , S >
728
+ impl < K , Q , V , S > std:: ops:: Index < & Q > for MapSeqMap < ' _ , K , V , S >
729
729
where
730
730
K : Eq + Hash + Borrow < Q > ,
731
731
S : BuildHasher ,
@@ -738,7 +738,7 @@ where
738
738
}
739
739
}
740
740
741
- impl < ' a , K , Q , V , S > std:: ops:: Index < & Q > for MapSeqMapMut < ' a , K , V , S >
741
+ impl < K , Q , V , S > std:: ops:: Index < & Q > for MapSeqMapMut < ' _ , K , V , S >
742
742
where
743
743
K : Eq + Hash + Borrow < Q > ,
744
744
S : BuildHasher ,
0 commit comments