fix clippy::single_char_pattern perf findings

This commit is contained in:
Matthias Krüger 2021-12-13 22:58:58 +01:00
parent 1796de7bb1
commit 97e844a032
19 changed files with 36 additions and 36 deletions

View file

@ -1036,7 +1036,7 @@ fn find_config(supplied: Option<Config>) -> Config {
// Helper function to escape quotes in a string
fn escape(s: String) -> String {
s.replace("\"", "\"\"")
s.replace('\"', "\"\"")
}
// Helper function to determine if a span came from a