@@ -75,13 +75,13 @@ impl Name {
75
75
}
76
76
77
77
impl fmt:: Debug for Name {
78
- fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
78
+ fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
79
79
fmt:: Debug :: fmt ( & self . host , f)
80
80
}
81
81
}
82
82
83
83
impl fmt:: Display for Name {
84
- fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
84
+ fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
85
85
fmt:: Display :: fmt ( & self . host , f)
86
86
}
87
87
}
@@ -100,7 +100,7 @@ impl FromStr for Name {
100
100
pub struct InvalidNameError ( ( ) ) ;
101
101
102
102
impl fmt:: Display for InvalidNameError {
103
- fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
103
+ fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
104
104
f. write_str ( "Not a valid domain name" )
105
105
}
106
106
}
@@ -166,7 +166,7 @@ impl Resolve for GaiResolver {
166
166
}
167
167
168
168
impl fmt:: Debug for GaiResolver {
169
- fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
169
+ fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
170
170
f. pad ( "GaiResolver" )
171
171
}
172
172
}
@@ -184,7 +184,7 @@ impl Future for GaiFuture {
184
184
}
185
185
186
186
impl fmt:: Debug for GaiFuture {
187
- fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
187
+ fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
188
188
f. pad ( "GaiFuture" )
189
189
}
190
190
}
@@ -198,7 +198,7 @@ impl Iterator for GaiAddrs {
198
198
}
199
199
200
200
impl fmt:: Debug for GaiAddrs {
201
- fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
201
+ fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
202
202
f. pad ( "GaiAddrs" )
203
203
}
204
204
}
0 commit comments