fix clippy::single_char_pattern perf findings
This commit is contained in:
@@ -1213,7 +1213,7 @@ pub fn get_cmd_lint_options(
|
||||
if lint_name == "help" {
|
||||
describe_lints = true;
|
||||
} else {
|
||||
lint_opts_with_position.push((arg_pos, lint_name.replace("-", "_"), level));
|
||||
lint_opts_with_position.push((arg_pos, lint_name.replace('-', "_"), level));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user