@@ -38,7 +38,7 @@ impl<Tz: TimeZone> ser::Serialize for DateTime<Tz> {
38
38
inner : & ' a DateTime < Tz > ,
39
39
}
40
40
41
- impl < ' a , Tz : TimeZone > fmt:: Display for FormatIso8601 < ' a , Tz > {
41
+ impl < Tz : TimeZone > fmt:: Display for FormatIso8601 < ' _ , Tz > {
42
42
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
43
43
let naive = self . inner . naive_local ( ) ;
44
44
let offset = self . inner . offset . fix ( ) ;
@@ -52,7 +52,7 @@ impl<Tz: TimeZone> ser::Serialize for DateTime<Tz> {
52
52
53
53
struct DateTimeVisitor ;
54
54
55
- impl < ' de > de:: Visitor < ' de > for DateTimeVisitor {
55
+ impl de:: Visitor < ' _ > for DateTimeVisitor {
56
56
type Value = DateTime < FixedOffset > ;
57
57
58
58
fn expecting ( & self , formatter : & mut fmt:: Formatter ) -> fmt:: Result {
@@ -230,7 +230,7 @@ pub mod ts_nanoseconds {
230
230
d. deserialize_i64 ( NanoSecondsTimestampVisitor )
231
231
}
232
232
233
- impl < ' de > de:: Visitor < ' de > for NanoSecondsTimestampVisitor {
233
+ impl de:: Visitor < ' _ > for NanoSecondsTimestampVisitor {
234
234
type Value = DateTime < Utc > ;
235
235
236
236
fn expecting ( & self , formatter : & mut fmt:: Formatter ) -> fmt:: Result {
@@ -512,7 +512,7 @@ pub mod ts_microseconds {
512
512
d. deserialize_i64 ( MicroSecondsTimestampVisitor )
513
513
}
514
514
515
- impl < ' de > de:: Visitor < ' de > for MicroSecondsTimestampVisitor {
515
+ impl de:: Visitor < ' _ > for MicroSecondsTimestampVisitor {
516
516
type Value = DateTime < Utc > ;
517
517
518
518
fn expecting ( & self , formatter : & mut fmt:: Formatter ) -> fmt:: Result {
@@ -786,7 +786,7 @@ pub mod ts_milliseconds {
786
786
d. deserialize_i64 ( MilliSecondsTimestampVisitor ) . map ( |dt| dt. with_timezone ( & Utc ) )
787
787
}
788
788
789
- impl < ' de > de:: Visitor < ' de > for MilliSecondsTimestampVisitor {
789
+ impl de:: Visitor < ' _ > for MilliSecondsTimestampVisitor {
790
790
type Value = DateTime < Utc > ;
791
791
792
792
fn expecting ( & self , formatter : & mut fmt:: Formatter ) -> fmt:: Result {
@@ -1052,7 +1052,7 @@ pub mod ts_seconds {
1052
1052
d. deserialize_i64 ( SecondsTimestampVisitor )
1053
1053
}
1054
1054
1055
- impl < ' de > de:: Visitor < ' de > for SecondsTimestampVisitor {
1055
+ impl de:: Visitor < ' _ > for SecondsTimestampVisitor {
1056
1056
type Value = DateTime < Utc > ;
1057
1057
1058
1058
fn expecting ( & self , formatter : & mut fmt:: Formatter ) -> fmt:: Result {
0 commit comments