@@ -559,14 +559,12 @@ impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<NlaBuffer<&'a T>>
559559 Ok ( v) => {
560560 return Err ( DecodeError :: from ( format ! (
561561 "Invalid BRIDGE_QUERIER_IP_ADDRESS, \
562- expecting IPv4 address, but got {}",
563- v
562+ expecting IPv4 address, but got {v}"
564563 ) ) )
565564 }
566565 Err ( e) => {
567566 return Err ( DecodeError :: from ( format ! (
568- "Invalid BRIDGE_QUERIER_IP_ADDRESS {}" ,
569- e
567+ "Invalid BRIDGE_QUERIER_IP_ADDRESS {e}"
570568 ) ) )
571569 }
572570 } ,
@@ -575,14 +573,12 @@ impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<NlaBuffer<&'a T>>
575573 Ok ( v) => {
576574 return Err ( DecodeError :: from ( format ! (
577575 "Invalid BRIDGE_QUERIER_IPV6_ADDRESS, \
578- expecting IPv6 address, but got {}",
579- v
576+ expecting IPv6 address, but got {v}"
580577 ) ) ) ;
581578 }
582579 Err ( e) => {
583580 return Err ( DecodeError :: from ( format ! (
584- "Invalid BRIDGE_QUERIER_IPV6_ADDRESS {}" ,
585- e
581+ "Invalid BRIDGE_QUERIER_IPV6_ADDRESS {e}"
586582 ) ) ) ;
587583 }
588584 } ,
@@ -605,7 +601,7 @@ impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<NlaBuffer<&'a T>>
605601
606602 kind => Other (
607603 DefaultNla :: parse ( buf)
608- . context ( format ! ( "unknown NLA type {}" , kind ) ) ?,
604+ . context ( format ! ( "unknown NLA type {kind}" ) ) ?,
609605 ) ,
610606 } )
611607 }
0 commit comments