removed unnecessary format!()

This commit is contained in:
ascendforever 2023-10-25 13:01:07 -04:00
parent f0b4b237bb
commit e0d1efb0c7
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View file

@ -188,7 +188,8 @@ fn assert_all_same_device(paths: &[PathBuf]) -> Result<(), String> {
} else { } else {
let mut s = String::new(); let mut s = String::new();
for path in wrong { for path in wrong {
s.push_str(&format!("Device ids must all be the same; got different for: {}", shlex::quote(&path.to_string_lossy()))); s.push_str("Device ids must all be the same; got different for: {}");
s.push_str(&shlex::quote(&path.to_string_lossy()));
} }
Err(s) Err(s)
} }