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
|
@ -1076,7 +1076,7 @@ fn exec_linker(
|
|||
}
|
||||
.to_string(),
|
||||
);
|
||||
args.push_str("\n");
|
||||
args.push('\n');
|
||||
}
|
||||
let file = tmpdir.join("linker-arguments");
|
||||
let bytes = if sess.target.target.options.is_like_msvc {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue