@@ -185,7 +185,7 @@ impl<'x> From<&'x str> for Address<'x> {
185185 }
186186}
187187
188- impl < ' x > From < String > for Address < ' x > {
188+ impl From < String > for Address < ' _ > {
189189 fn from ( email : String ) -> Self {
190190 Address {
191191 email : email. into ( ) ,
@@ -232,7 +232,7 @@ impl<'x> From<(&'x str, &'x str)> for Parameter<'x> {
232232 }
233233}
234234
235- impl < ' x > From < ( String , String ) > for Parameter < ' x > {
235+ impl From < ( String , String ) > for Parameter < ' _ > {
236236 fn from ( value : ( String , String ) ) -> Self {
237237 Parameter {
238238 key : value. 0 . into ( ) ,
@@ -241,7 +241,7 @@ impl<'x> From<(String, String)> for Parameter<'x> {
241241 }
242242}
243243
244- impl < ' x > From < String > for Parameter < ' x > {
244+ impl From < String > for Parameter < ' _ > {
245245 fn from ( value : String ) -> Self {
246246 Parameter {
247247 key : value. into ( ) ,
@@ -250,7 +250,7 @@ impl<'x> From<String> for Parameter<'x> {
250250 }
251251}
252252
253- impl < ' x > Display for Parameters < ' x > {
253+ impl Display for Parameters < ' _ > {
254254 fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
255255 if !self . params . is_empty ( ) {
256256 for param in & self . params {
@@ -262,7 +262,7 @@ impl<'x> Display for Parameters<'x> {
262262 }
263263}
264264
265- impl < ' x > Display for Parameter < ' x > {
265+ impl Display for Parameter < ' _ > {
266266 fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
267267 if let Some ( value) = & self . value {
268268 write ! ( f, "{}={}" , self . key, value)
@@ -283,7 +283,7 @@ impl<'x> IntoMessage<'x> for Message<'x> {
283283}
284284
285285#[ cfg( feature = "builder" ) ]
286- impl < ' x , ' y > IntoMessage < ' x > for MessageBuilder < ' y > {
286+ impl < ' x > IntoMessage < ' x > for MessageBuilder < ' _ > {
287287 fn into_message ( self ) -> crate :: Result < Message < ' x > > {
288288 let mut mail_from = None ;
289289 let mut rcpt_to = std:: collections:: HashSet :: new ( ) ;
0 commit comments