@@ -257,7 +257,7 @@ impl Display for DisabledReason {
257257 Self :: DistFalse => write ! ( f, "dist = false" ) ,
258258 Self :: PublishFalse => write ! ( f, "publish = false" ) ,
259259 Self :: NoArtifacts { kinds } => write ! ( f, "no {}" , kinds. join( " " ) ) ,
260- Self :: TagNotMatched { tag } => write ! ( f, "didn't match tag {}" , tag ) ,
260+ Self :: TagNotMatched { tag } => write ! ( f, "didn't match tag {tag}" ) ,
261261 }
262262 }
263263}
@@ -504,7 +504,7 @@ fn select_packages(
504504 // Report each binary and potentially add it to the Release for this package
505505 let mut binaries = vec ! [ ] ;
506506 for binary in & pkg. binaries {
507- info ! ( " {}" , sty. apply_to( format!( "[bin] {}" , binary ) ) ) ;
507+ info ! ( " {}" , sty. apply_to( format!( "[bin] {binary}" ) ) ) ;
508508 // In the future might want to allow this to be granular for each binary
509509 if disabled_reason. is_none ( ) {
510510 binaries. push ( binary. to_owned ( ) ) ;
@@ -513,15 +513,15 @@ fn select_packages(
513513
514514 let mut cdylibs = vec ! [ ] ;
515515 for library in & pkg. cdylibs {
516- info ! ( " {}" , sty. apply_to( format!( "[cdylib] {}" , library ) ) ) ;
516+ info ! ( " {}" , sty. apply_to( format!( "[cdylib] {library}" ) ) ) ;
517517 // In the future might want to allow this to be granular for each library
518518 if disabled_reason. is_none ( ) {
519519 cdylibs. push ( library. to_owned ( ) ) ;
520520 }
521521 }
522522 let mut cstaticlibs = vec ! [ ] ;
523523 for library in & pkg. cstaticlibs {
524- info ! ( " {}" , sty. apply_to( format!( "[cstaticlib] {}" , library ) ) ) ;
524+ info ! ( " {}" , sty. apply_to( format!( "[cstaticlib] {library}" ) ) ) ;
525525 // In the future might want to allow this to be granular for each library
526526 if disabled_reason. is_none ( ) {
527527 cstaticlibs. push ( library. to_owned ( ) ) ;
@@ -910,8 +910,8 @@ pub fn announcement_github(manifest: &mut DistManifest) {
910910 if !global_installers. is_empty ( ) {
911911 writeln ! ( gh_body, "## Install {heading_suffix}\n " ) . unwrap ( ) ;
912912 for ( desc, hint) in global_installers {
913- writeln ! ( & mut gh_body, "### {}\n " , desc ) . unwrap ( ) ;
914- writeln ! ( & mut gh_body, "```sh\n {}\n ```\n " , hint ) . unwrap ( ) ;
913+ writeln ! ( & mut gh_body, "### {desc }\n " ) . unwrap ( ) ;
914+ writeln ! ( & mut gh_body, "```sh\n {hint }\n ```\n " ) . unwrap ( ) ;
915915 }
916916 }
917917
0 commit comments