@@ -178,7 +178,7 @@ impl Install {
178178 }
179179
180180 println ! ( ) ;
181- println ! ( "{}" , table ) ;
181+ println ! ( "{table}" ) ;
182182 }
183183 if !skipped. is_empty ( ) {
184184 println ! ( ) ;
@@ -193,7 +193,7 @@ impl Install {
193193 }
194194
195195 println ! ( ) ;
196- println ! ( "{}" , table ) ;
196+ println ! ( "{table}" ) ;
197197 }
198198 }
199199 }
@@ -366,7 +366,7 @@ impl Upgrade {
366366 }
367367
368368 println ! ( ) ;
369- println ! ( "{}" , table ) ;
369+ println ! ( "{table}" ) ;
370370 }
371371
372372 println ! ( ) ;
@@ -384,7 +384,7 @@ impl Upgrade {
384384 }
385385
386386 println ! ( ) ;
387- println ! ( "{}" , table ) ;
387+ println ! ( "{table}" ) ;
388388 println ! ( ) ;
389389 }
390390 }
@@ -547,7 +547,7 @@ impl List {
547547 table. add_row ( row) ;
548548 }
549549
550- println ! ( "{}" , table ) ;
550+ println ! ( "{table}" ) ;
551551 }
552552
553553 if !warnings. is_empty ( ) {
@@ -573,7 +573,7 @@ impl List {
573573 . collect ( ) ;
574574
575575 let json_text = serde_json:: to_string_pretty ( & json_vals) ?;
576- println ! ( "{}" , json_text ) ;
576+ println ! ( "{json_text}" ) ;
577577 Ok ( ( ) )
578578 }
579579}
@@ -603,13 +603,13 @@ impl ProgressReporter for ConsoleProgressReporter {
603603fn skipped_reason_text ( reason : & SkippedReason ) -> String {
604604 match reason {
605605 SkippedReason :: AlreadyExists => "Already exists" . to_owned ( ) ,
606- SkippedReason :: InvalidManifest ( msg) => format ! ( "Template load error: {}" , msg ) ,
606+ SkippedReason :: InvalidManifest ( msg) => format ! ( "Template load error: {msg}" ) ,
607607 }
608608}
609609
610610fn list_warn_reason_text ( reason : & InstalledTemplateWarning ) -> String {
611611 match reason {
612- InstalledTemplateWarning :: InvalidManifest ( msg) => format ! ( "Template load error: {}" , msg ) ,
612+ InstalledTemplateWarning :: InvalidManifest ( msg) => format ! ( "Template load error: {msg}" ) ,
613613 }
614614}
615615
@@ -625,8 +625,7 @@ pub(crate) async fn prompt_install_default_templates(
625625 Ok ( Some ( template_manager. list ( ) . await ?. templates ) )
626626 } else {
627627 println ! (
628- "You can install the default templates later with 'spin templates install --git {}'" ,
629- DEFAULT_TEMPLATE_REPO
628+ "You can install the default templates later with 'spin templates install --git {DEFAULT_TEMPLATE_REPO}'"
630629 ) ;
631630 Ok ( None )
632631 }
0 commit comments