@@ -504,9 +504,7 @@ async fn write_triage_summary(
504504) -> String {
505505 let mut result = if let Some ( pr) = comparison. b . pr {
506506 let title = github:: pr_title ( pr) . await ;
507- format ! (
508- "{title} [#{pr}](https://github.com/rust-lang/rust/pull/{pr})"
509- )
507+ format ! ( "{title} [#{pr}](https://github.com/rust-lang/rust/pull/{pr})" )
510508 } else {
511509 String :: from ( "<Unknown Change>" )
512510 } ;
@@ -1447,15 +1445,11 @@ async fn generate_report(
14471445 Ok ( u) => u
14481446 . iter ( )
14491447 . map ( |github:: PullRequest { title, number } | {
1450- format ! (
1451- "- [#{number} {title}](https://github.com/rust-lang/rust/pull/{number})"
1452- )
1448+ format ! ( "- [#{number} {title}](https://github.com/rust-lang/rust/pull/{number})" )
14531449 } )
14541450 . collect :: < Vec < _ > > ( )
14551451 . join ( "\n " ) ,
1456- Err ( e) => format ! (
1457- "An **error** occurred when finding the untriaged PRs: {e}"
1458- ) ,
1452+ Err ( e) => format ! ( "An **error** occurred when finding the untriaged PRs: {e}" ) ,
14591453 } ;
14601454 let num_regressions = regressions. len ( ) ;
14611455 let regressions_suffix = if num_regressions == 1 { "" } else { "s" } ;
@@ -1528,9 +1522,7 @@ fn compare_link(start: &ArtifactId, end: &ArtifactId) -> String {
15281522 ArtifactId :: Tag ( a) => a,
15291523 ArtifactId :: Commit ( c) => & c. sha ,
15301524 } ;
1531- format ! (
1532- "https://perf.rust-lang.org/compare.html?start={start}&end={end}&stat=instructions:u"
1533- )
1525+ format ! ( "https://perf.rust-lang.org/compare.html?start={start}&end={end}&stat=instructions:u" )
15341526}
15351527
15361528#[ cfg( test) ]
@@ -1753,9 +1745,7 @@ mod tests {
17531745 // We don't use `assert_eq!` here because it stringifies the arguments,
17541746 // making the tables hard to read when printed.
17551747 if result != expected {
1756- panic ! (
1757- "output mismatch:\n expected:\n {expected}actual:\n {result}"
1758- ) ;
1748+ panic ! ( "output mismatch:\n expected:\n {expected}actual:\n {result}" ) ;
17591749 }
17601750 }
17611751}
0 commit comments