@@ -243,7 +243,7 @@ impl From<ReadExactError<std::io::Error>> for std::io::Error {
243243 std:: io:: ErrorKind :: UnexpectedEof ,
244244 "UnexpectedEof" . to_owned ( ) ,
245245 ) ,
246- ReadExactError :: Other ( e) => std:: io:: Error :: new ( e. kind ( ) , format ! ( "{:?}" , e ) ) ,
246+ ReadExactError :: Other ( e) => std:: io:: Error :: new ( e. kind ( ) , format ! ( "{e :?}" ) ) ,
247247 }
248248 }
249249}
@@ -256,14 +256,14 @@ impl From<WriteAllError<std::io::Error>> for std::io::Error {
256256 WriteAllError :: WriteZero => {
257257 std:: io:: Error :: new ( std:: io:: ErrorKind :: WriteZero , "WriteZero" . to_owned ( ) )
258258 }
259- WriteAllError :: Other ( e) => std:: io:: Error :: new ( e. kind ( ) , format ! ( "{:?}" , e ) ) ,
259+ WriteAllError :: Other ( e) => std:: io:: Error :: new ( e. kind ( ) , format ! ( "{e :?}" ) ) ,
260260 }
261261 }
262262}
263263
264264impl < E : fmt:: Debug > fmt:: Display for ReadExactError < E > {
265265 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
266- write ! ( f, "{:?}" , self )
266+ write ! ( f, "{self :?}" )
267267 }
268268}
269269
@@ -291,7 +291,7 @@ impl<E> From<E> for WriteFmtError<E> {
291291
292292impl < E : fmt:: Debug > fmt:: Display for WriteFmtError < E > {
293293 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
294- write ! ( f, "{:?}" , self )
294+ write ! ( f, "{self :?}" )
295295 }
296296}
297297
@@ -317,7 +317,7 @@ impl<E> From<E> for WriteAllError<E> {
317317
318318impl < E : fmt:: Debug > fmt:: Display for WriteAllError < E > {
319319 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
320- write ! ( f, "{:?}" , self )
320+ write ! ( f, "{self :?}" )
321321 }
322322}
323323
0 commit comments