@@ -44,7 +44,7 @@ pub struct MapMut<'msg, K: ?Sized, V: ?Sized> {
4444}
4545
4646impl < ' msg , K : ?Sized , V : ?Sized > MapMut < ' msg , K , V > {
47- pub fn inner ( & self , _private : Private ) -> InnerMapMut {
47+ pub fn inner ( & self , _private : Private ) -> InnerMapMut < ' _ > {
4848 self . inner
4949 }
5050}
@@ -346,14 +346,14 @@ where
346346 V :: map_clear ( self . as_mut ( ) )
347347 }
348348
349- pub fn get < ' a > ( & self , key : impl Into < View < ' a , K > > ) -> Option < View < V > >
349+ pub fn get < ' a > ( & self , key : impl Into < View < ' a , K > > ) -> Option < View < ' _ , V > >
350350 where
351351 K : ' a ,
352352 {
353353 V :: map_get ( self . as_view ( ) , key. into ( ) )
354354 }
355355
356- pub fn get_mut < ' a > ( & mut self , key : impl Into < View < ' a , K > > ) -> Option < Mut < V > >
356+ pub fn get_mut < ' a > ( & mut self , key : impl Into < View < ' a , K > > ) -> Option < Mut < ' _ , V > >
357357 where
358358 K : ' a ,
359359 V : Message ,
@@ -377,7 +377,7 @@ where
377377 /// Returns an iterator visiting all key-value pairs in arbitrary order.
378378 ///
379379 /// The iterator element type is `(View<K>, View<V>)`.
380- pub fn iter ( & self ) -> MapIter < K , V > {
380+ pub fn iter ( & self ) -> MapIter < ' _ , K , V > {
381381 self . into_iter ( )
382382 }
383383
0 commit comments