Remove unnecessary sigils around Symbol::as_str()
calls.
This commit is contained in:
parent
8cddcd39ba
commit
056d48a2c9
104 changed files with 189 additions and 192 deletions
|
@ -3482,7 +3482,7 @@ fn names_to_string(names: &[Symbol]) -> String {
|
|||
if Ident::with_dummy_span(*name).is_raw_guess() {
|
||||
result.push_str("r#");
|
||||
}
|
||||
result.push_str(&name.as_str());
|
||||
result.push_str(name.as_str());
|
||||
}
|
||||
result
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue