Skip to content

Commit edfac51

Browse files
committed
Remove some unneeded trailing commas
1 parent 42d1ea8 commit edfac51

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ubi/src/installer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ impl ArchiveInstaller {
695695
})?);
696696

697697
if full_path.is_dir() {
698-
debug!("creating directory {}", target_path.display(),);
698+
debug!("creating directory {}", target_path.display());
699699
create_dir_all(&target_path).with_context(|| {
700700
format!("failed to create directory at {}", target_path.display())
701701
})?;

ubi/src/picker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ impl<'a> AssetPicker<'a> {
341341
}
342342

343343
let asset_names = matches.iter().map(|a| a.name.as_str()).collect::<Vec<_>>();
344-
debug!("found multiple candidate assets, filtering for 64-bit binaries in {asset_names:?}",);
344+
debug!("found multiple candidate assets, filtering for 64-bit binaries in {asset_names:?}");
345345

346346
if !matches.iter().any(|a| cpu_64_bit_re().is_match(&a.name)) {
347347
debug!("no 64-bit assets found, falling back to all assets");

0 commit comments

Comments
 (0)