@@ -387,30 +387,30 @@ impl Size for &VLBytes {
387387
388388pub struct VLByteSlice < ' a > ( pub & ' a [ u8 ] ) ;
389389
390- impl < ' a > fmt:: Debug for VLByteSlice < ' a > {
390+ impl fmt:: Debug for VLByteSlice < ' _ > {
391391 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
392392 write ! ( f, "VLByteSlice {{ " ) ?;
393393 write_hex ( f, self . 0 ) ?;
394394 write ! ( f, " }}" )
395395 }
396396}
397397
398- impl < ' a > VLByteSlice < ' a > {
398+ impl VLByteSlice < ' _ > {
399399 /// Get the raw slice.
400400 #[ inline( always) ]
401401 pub fn as_slice ( & self ) -> & [ u8 ] {
402402 self . 0
403403 }
404404}
405405
406- impl < ' a > Size for & VLByteSlice < ' a > {
406+ impl Size for & VLByteSlice < ' _ > {
407407 #[ inline]
408408 fn tls_serialized_len ( & self ) -> usize {
409409 tls_serialize_bytes_len ( self . 0 )
410410 }
411411}
412412
413- impl < ' a > Size for VLByteSlice < ' a > {
413+ impl Size for VLByteSlice < ' _ > {
414414 #[ inline]
415415 fn tls_serialized_len ( & self ) -> usize {
416416 tls_serialize_bytes_len ( self . 0 )
@@ -598,13 +598,13 @@ mod rw_bytes {
598598 }
599599 }
600600
601- impl < ' a > Serialize for & VLByteSlice < ' a > {
601+ impl Serialize for & VLByteSlice < ' _ > {
602602 fn tls_serialize < W : std:: io:: Write > ( & self , writer : & mut W ) -> Result < usize , Error > {
603603 tls_serialize_bytes ( writer, self . 0 )
604604 }
605605 }
606606
607- impl < ' a > Serialize for VLByteSlice < ' a > {
607+ impl Serialize for VLByteSlice < ' _ > {
608608 fn tls_serialize < W : std:: io:: Write > ( & self , writer : & mut W ) -> Result < usize , Error > {
609609 tls_serialize_bytes ( writer, self . 0 )
610610 }
0 commit comments