File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed
Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ async fn pull_feature_configuration(feature_ref: &OciReference) -> anyhow::Resul
7676 entry. read_to_end ( & mut data) ?;
7777 let feature: registry:: Feature = serde_json:: from_slice ( data. as_slice ( ) ) ?;
7878
79- log:: debug!( "pull_feature_configuration: read {} bytes" , size ) ;
79+ log:: debug!( "pull_feature_configuration: read {size } bytes" ) ;
8080
8181 return Ok ( feature) ;
8282 }
@@ -367,7 +367,7 @@ impl TemplateBuilder {
367367 let config = serde_json:: from_slice ( data. as_slice ( ) ) ?;
368368
369369 self . config . replace ( config) ;
370- log:: debug!( "TemplateBuilder::replace_config: read {} bytes" , size ) ;
370+ log:: debug!( "TemplateBuilder::replace_config: read {size } bytes" ) ;
371371
372372 return Ok ( ( ) ) ;
373373 }
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ impl Displayable for registry::Template {
206206}
207207
208208fn display < T : ?Sized + Displayable > ( value : & T , format : & InspectDisplay ) -> serde_json:: error:: Result < ( ) > {
209- log:: debug!( "display: as {}" , format ) ;
209+ log:: debug!( "display: as {format}" ) ;
210210
211211 match format {
212212 InspectDisplay :: Json => value. display_json ( ) ?,
Original file line number Diff line number Diff line change @@ -94,10 +94,7 @@ async fn main() -> Result<(), anyhow::Error> {
9494 if let Some ( command) = args. command {
9595 if !index_file. exists ( ) {
9696 // suggested user action
97- log:: error!(
98- "Missing devcontainer-index.json.\n \n \t Run `{} --pull-index`.\n " ,
99- BIN_NAME
100- ) ;
97+ log:: error!( "Missing devcontainer-index.json.\n \n \t Run `{BIN_NAME} --pull-index`.\n " ) ;
10198 }
10299
103100 let index = registry:: read_devcontainer_index ( index_file) ?;
You can’t perform that action at this time.
0 commit comments