File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ pub fn run_cmd(cmd: &mut Command) -> Result<()> {
4444 let program = cmd. get_program ( ) . to_string_lossy ( ) . into_owned ( ) ;
4545 let status = cmd
4646 . status ( )
47- . context ( format ! ( "failed to launch {}" , program ) ) ?;
47+ . context ( format ! ( "failed to launch {program}" ) ) ?;
4848 if !status. success ( ) {
4949 bail ! ( "command {program} failed: {status:?}" ) ;
5050 }
@@ -60,7 +60,7 @@ pub fn capture_cmd(cmd: &mut Command) -> Result<Output> {
6060 let program = cmd. get_program ( ) . to_string_lossy ( ) . into_owned ( ) ;
6161 let output = cmd
6262 . output ( )
63- . context ( format ! ( "failed to launch {}" , program ) ) ?;
63+ . context ( format ! ( "failed to launch {program}" ) ) ?;
6464 if !output. status . success ( ) {
6565 bail ! (
6666 "command {program} failed: {status:?}" ,
You can’t perform that action at this time.
0 commit comments