File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/rustc_serialize/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ impl<D: Decoder, const N: usize> Decodable<D> for [u8; N] {
325325 }
326326}
327327
328- impl < ' a , S : Encoder , T : Encodable < S > > Encodable < S > for Cow < ' a , [ T ] >
328+ impl < S : Encoder , T : Encodable < S > > Encodable < S > for Cow < ' _ , [ T ] >
329329where
330330 [ T ] : ToOwned < Owned = Vec < T > > ,
331331{
@@ -345,14 +345,14 @@ where
345345 }
346346}
347347
348- impl < ' a , S : Encoder > Encodable < S > for Cow < ' a , str > {
348+ impl < S : Encoder > Encodable < S > for Cow < ' _ , str > {
349349 fn encode ( & self , s : & mut S ) {
350350 let val: & str = self ;
351351 val. encode ( s)
352352 }
353353}
354354
355- impl < ' a , D : Decoder > Decodable < D > for Cow < ' a , str > {
355+ impl < D : Decoder > Decodable < D > for Cow < ' _ , str > {
356356 fn decode ( d : & mut D ) -> Cow < ' static , str > {
357357 let v: String = Decodable :: decode ( d) ;
358358 Cow :: Owned ( v)
You can’t perform that action at this time.
0 commit comments