use push(char) instead of push_str(&str) to add single chars to strings
clippy::single-char-push-str
This commit is contained in:
parent
e11c667e4a
commit
9bb10cc907
11 changed files with 31 additions and 29 deletions
|
@ -581,9 +581,9 @@ impl OutputFilenames {
|
|||
|
||||
if !ext.is_empty() {
|
||||
if !extension.is_empty() {
|
||||
extension.push_str(".");
|
||||
extension.push('.');
|
||||
extension.push_str(RUST_CGU_EXT);
|
||||
extension.push_str(".");
|
||||
extension.push('.');
|
||||
}
|
||||
|
||||
extension.push_str(ext);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue