@@ -243,7 +243,7 @@ impl From<ReadExactError<std::io::Error>> for std::io::Error {
243
243
std:: io:: ErrorKind :: UnexpectedEof ,
244
244
"UnexpectedEof" . to_owned ( ) ,
245
245
) ,
246
- ReadExactError :: Other ( e) => std:: io:: Error :: new ( e. kind ( ) , format ! ( "{:?}" , e ) ) ,
246
+ ReadExactError :: Other ( e) => std:: io:: Error :: new ( e. kind ( ) , format ! ( "{e :?}" ) ) ,
247
247
}
248
248
}
249
249
}
@@ -256,14 +256,14 @@ impl From<WriteAllError<std::io::Error>> for std::io::Error {
256
256
WriteAllError :: WriteZero => {
257
257
std:: io:: Error :: new ( std:: io:: ErrorKind :: WriteZero , "WriteZero" . to_owned ( ) )
258
258
}
259
- WriteAllError :: Other ( e) => std:: io:: Error :: new ( e. kind ( ) , format ! ( "{:?}" , e ) ) ,
259
+ WriteAllError :: Other ( e) => std:: io:: Error :: new ( e. kind ( ) , format ! ( "{e :?}" ) ) ,
260
260
}
261
261
}
262
262
}
263
263
264
264
impl < E : fmt:: Debug > fmt:: Display for ReadExactError < E > {
265
265
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
266
- write ! ( f, "{:?}" , self )
266
+ write ! ( f, "{self :?}" )
267
267
}
268
268
}
269
269
@@ -291,7 +291,7 @@ impl<E> From<E> for WriteFmtError<E> {
291
291
292
292
impl < E : fmt:: Debug > fmt:: Display for WriteFmtError < E > {
293
293
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
294
- write ! ( f, "{:?}" , self )
294
+ write ! ( f, "{self :?}" )
295
295
}
296
296
}
297
297
@@ -317,7 +317,7 @@ impl<E> From<E> for WriteAllError<E> {
317
317
318
318
impl < E : fmt:: Debug > fmt:: Display for WriteAllError < E > {
319
319
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
320
- write ! ( f, "{:?}" , self )
320
+ write ! ( f, "{self :?}" )
321
321
}
322
322
}
323
323
0 commit comments