1
Fork 0

clippy::perf fixes

single_char_pattern and to_string_in_format_args
This commit is contained in:
Matthias Krüger 2022-02-03 21:44:47 +01:00
parent 4e8fb743cc
commit de2abc29e9
4 changed files with 9 additions and 9 deletions

View file

@ -219,7 +219,7 @@ impl<'a> ArchiveBuilder<'a> for LlvmArchiveBuilder<'a> {
match result {
Err(e) => {
self.config.sess.fatal(&format!("Error calling dlltool: {}", e.to_string()));
self.config.sess.fatal(&format!("Error calling dlltool: {}", e));
}
Ok(output) if !output.status.success() => self.config.sess.fatal(&format!(
"Dlltool could not create import library: {}\n{}",