@@ -118,19 +118,19 @@ impl fmt::Display for ParseError {
118118 fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
119119 match self {
120120 Self :: EndOfMessage => write ! ( f, "found end of message while parsing argument" ) ,
121- Self :: Utf8 ( e) => write ! ( f, "invalid UTF-8 string in message: {}" , e ) ,
122- Self :: InvalidId ( id) => write ! ( f, "new object id '{}' invalid" , id ) ,
121+ Self :: Utf8 ( e) => write ! ( f, "invalid UTF-8 string in message: {e}" ) ,
122+ Self :: InvalidId ( id) => write ! ( f, "new object id '{id }' invalid" ) ,
123123 Self :: NoFd => write ! ( f, "expected fd" ) ,
124124 Self :: InvalidOpcode ( intr, op) => {
125- write ! ( f, "opcode '{}' invallid for interface '{}'" , op , intr )
125+ write ! ( f, "opcode '{op }' invallid for interface '{intr }'" )
126126 }
127127 Self :: InvalidVariant ( enum_, var) => {
128- write ! ( f, "variant '{}' invallid for enum '{}'" , var , enum_ )
128+ write ! ( f, "variant '{var }' invallid for enum '{enum_ }'" )
129129 }
130- Self :: InvalidInterface ( intr) => write ! ( f, "unknown interface '{}'" , intr ) ,
131- Self :: HeaderLength ( len) => write ! ( f, "header length {} < 16" , len ) ,
130+ Self :: InvalidInterface ( intr) => write ! ( f, "unknown interface '{intr }'" ) ,
131+ Self :: HeaderLength ( len) => write ! ( f, "header length {len } < 16" ) ,
132132 Self :: MessageLength ( a, b) => {
133- write ! ( f, "message length didn't match header ({} != {})" , a , b )
133+ write ! ( f, "message length didn't match header ({a } != {b })" )
134134 }
135135 }
136136 }
0 commit comments