@@ -22,7 +22,7 @@ impl NetworkLengthTooLongError {
2222}
2323
2424impl fmt:: Debug for NetworkLengthTooLongError {
25- fn fmt ( & self , w : & mut fmt:: Formatter ) -> fmt:: Result {
25+ fn fmt ( & self , w : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
2626 write ! (
2727 w,
2828 "Network length {} is too long for {:?} (maximum: {})" ,
@@ -33,7 +33,7 @@ impl fmt::Debug for NetworkLengthTooLongError {
3333 }
3434}
3535impl fmt:: Display for NetworkLengthTooLongError {
36- fn fmt ( & self , w : & mut fmt:: Formatter ) -> fmt:: Result {
36+ fn fmt ( & self , w : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
3737 fmt:: Debug :: fmt ( self , w)
3838 }
3939}
@@ -64,7 +64,7 @@ pub enum NetworkParseError {
6464 NetworkLengthTooLongError ( NetworkLengthTooLongError ) ,
6565}
6666impl fmt:: Debug for NetworkParseError {
67- fn fmt ( & self , w : & mut fmt:: Formatter ) -> fmt:: Result {
67+ fn fmt ( & self , w : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
6868 match self {
6969 Self :: InvalidHostPart => write ! ( w, "host part of address was not zero" ) ,
7070 Self :: AddrParseError ( e) => {
@@ -80,7 +80,7 @@ impl fmt::Debug for NetworkParseError {
8080 }
8181}
8282impl fmt:: Display for NetworkParseError {
83- fn fmt ( & self , w : & mut fmt:: Formatter ) -> fmt:: Result {
83+ fn fmt ( & self , w : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
8484 fmt:: Debug :: fmt ( self , w)
8585 }
8686}
@@ -132,7 +132,7 @@ pub enum InetTupleError {
132132}
133133
134134impl fmt:: Debug for InetTupleError {
135- fn fmt ( & self , w : & mut fmt:: Formatter ) -> fmt:: Result {
135+ fn fmt ( & self , w : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
136136 match self {
137137 Self :: NotInSharedNetwork => write ! ( w, "addresses not in shared network" ) ,
138138 Self :: NetworkLengthTooLongError ( e) => {
@@ -143,7 +143,7 @@ impl fmt::Debug for InetTupleError {
143143}
144144
145145impl fmt:: Display for InetTupleError {
146- fn fmt ( & self , w : & mut fmt:: Formatter ) -> fmt:: Result {
146+ fn fmt ( & self , w : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
147147 fmt:: Debug :: fmt ( self , w)
148148 }
149149}
0 commit comments