File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ impl CargoCmd for Command {
198198 let output = self . output ( ) ;
199199
200200 let Ok ( output) = output else {
201- bail ! ( "Failed to execute command:\n {:?}" , self ) ;
201+ bail ! ( "Failed to execute command:\n {self :?}" ) ;
202202 } ;
203203 if !output. status . success ( ) {
204204 let stderr = String :: from_utf8_lossy ( & output. stderr ) ;
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ impl Debug for Command {
8181 }
8282 write ! ( f, "{:?} " , self . get_program( ) ) ?;
8383 for arg in & self . args {
84- write ! ( f, "{:?} " , arg ) ?;
84+ write ! ( f, "{arg :?} " ) ?;
8585 }
8686 writeln ! ( f)
8787 }
@@ -521,7 +521,7 @@ impl Command {
521521 ) {
522522 Ok ( args) => args,
523523 Err ( err) => {
524- eprintln ! ( "Failed to parse arguments: {}" , err ) ;
524+ eprintln ! ( "Failed to parse arguments: {err}" ) ;
525525 std:: process:: exit ( 1 ) ;
526526 }
527527 }
You can’t perform that action at this time.
0 commit comments