clippy::perf fixes
single_char_pattern and to_string_in_format_args
This commit is contained in:
parent
4e8fb743cc
commit
de2abc29e9
4 changed files with 9 additions and 9 deletions
|
@ -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{}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue