@@ -127,11 +127,11 @@ OPTIONS:
127
127
} else {
128
128
write ! ( wtr, "regex," ) ?;
129
129
}
130
- write ! ( wtr, "{}," , revision ) ?;
130
+ write ! ( wtr, "{revision }," ) ?;
131
131
write ! ( wtr, "{}," , tdir. test. profile. as_str( ) ) ?;
132
132
write ! ( wtr, "{:?}," , m. duration) ?;
133
133
write ! ( wtr, "{:?}," , m. size) ?;
134
- write ! ( wtr, "{:?}" , relative_size ) ?;
134
+ write ! ( wtr, "{relative_size :?}" ) ?;
135
135
write ! ( wtr, "\n " ) ?;
136
136
}
137
137
Ok ( ( ) )
@@ -439,7 +439,7 @@ impl Test {
439
439
let features = self
440
440
. features
441
441
. iter ( )
442
- . map ( |f| format ! ( r#""{}""# , f ) )
442
+ . map ( |f| format ! ( r#""{f }""# ) )
443
443
. collect :: < Vec < String > > ( )
444
444
. join ( ", " ) ;
445
445
format ! (
@@ -480,7 +480,7 @@ strip = "symbols"
480
480
let features = self
481
481
. features
482
482
. iter ( )
483
- . map ( |f| format ! ( r#""{}""# , f ) )
483
+ . map ( |f| format ! ( r#""{f }""# ) )
484
484
. collect :: < Vec < String > > ( )
485
485
. join ( ", " ) ;
486
486
format ! (
@@ -521,7 +521,7 @@ strip = "symbols"
521
521
let features = self
522
522
. features
523
523
. iter ( )
524
- . map ( |f| format ! ( r#""{}""# , f ) )
524
+ . map ( |f| format ! ( r#""{f }""# ) )
525
525
. collect :: < Vec < String > > ( )
526
526
. join ( ", " ) ;
527
527
format ! (
@@ -800,8 +800,7 @@ fn baseline_size(parent_dir: &Path, profile: Profile) -> anyhow::Result<u64> {
800
800
. with_context ( || format ! ( "'cargo clean' failed for baseline" ) ) ?;
801
801
anyhow:: ensure!(
802
802
status. success( ) ,
803
- "'cargo clean' got an error exit code of {:?} for baseline" ,
804
- status,
803
+ "'cargo clean' got an error exit code of {status:?} for baseline" ,
805
804
) ;
806
805
let status = Command :: new ( "cargo" )
807
806
. arg ( "build" )
@@ -814,8 +813,7 @@ fn baseline_size(parent_dir: &Path, profile: Profile) -> anyhow::Result<u64> {
814
813
. with_context ( || format ! ( "'cargo build' failed for baseline" ) ) ?;
815
814
anyhow:: ensure!(
816
815
status. success( ) ,
817
- "'cargo build' got an error exit code of {:?} for baseline" ,
818
- status,
816
+ "'cargo build' got an error exit code of {status:?} for baseline" ,
819
817
) ;
820
818
let bin = dir
821
819
. join ( "target" )
0 commit comments