@@ -132,13 +132,13 @@ impl<K, V> SsoHashMap<K, V> {
132132 /// with mutable references to the values.
133133 /// The iterator element type is `(&'a K, &'a mut V)`.
134134 #[ inline]
135- pub fn iter_mut ( & mut self ) -> impl Iterator < Item = ( & ' _ K , & ' _ mut V ) > {
135+ pub fn iter_mut ( & mut self ) -> impl Iterator < Item = ( & K , & mut V ) > {
136136 self . into_iter ( )
137137 }
138138
139139 /// An iterator visiting all keys in arbitrary order.
140140 /// The iterator element type is `&'a K`.
141- pub fn keys ( & self ) -> impl Iterator < Item = & ' _ K > {
141+ pub fn keys ( & self ) -> impl Iterator < Item = & K > {
142142 match self {
143143 SsoHashMap :: Array ( array) => Either :: Left ( array. iter ( ) . map ( |( k, _v) | k) ) ,
144144 SsoHashMap :: Map ( map) => Either :: Right ( map. keys ( ) ) ,
@@ -147,7 +147,7 @@ impl<K, V> SsoHashMap<K, V> {
147147
148148 /// An iterator visiting all values in arbitrary order.
149149 /// The iterator element type is `&'a V`.
150- pub fn values ( & self ) -> impl Iterator < Item = & ' _ V > {
150+ pub fn values ( & self ) -> impl Iterator < Item = & V > {
151151 match self {
152152 SsoHashMap :: Array ( array) => Either :: Left ( array. iter ( ) . map ( |( _k, v) | v) ) ,
153153 SsoHashMap :: Map ( map) => Either :: Right ( map. values ( ) ) ,
@@ -156,7 +156,7 @@ impl<K, V> SsoHashMap<K, V> {
156156
157157 /// An iterator visiting all values mutably in arbitrary order.
158158 /// The iterator element type is `&'a mut V`.
159- pub fn values_mut ( & mut self ) -> impl Iterator < Item = & ' _ mut V > {
159+ pub fn values_mut ( & mut self ) -> impl Iterator < Item = & mut V > {
160160 match self {
161161 SsoHashMap :: Array ( array) => Either :: Left ( array. iter_mut ( ) . map ( |( _k, v) | v) ) ,
162162 SsoHashMap :: Map ( map) => Either :: Right ( map. values_mut ( ) ) ,
0 commit comments