Enable clippy::useless_conversion (#8767)
This PR enables the [`clippy::useless_conversion`](https://rust-lang.github.io/rust-clippy/master/index.html#/useless_conversion) rule and fixes the outstanding violations. Release Notes: - N/A
This commit is contained in:
@@ -899,7 +899,7 @@ impl Pane {
|
||||
if not_shown_files == 1 {
|
||||
file_names.push(".. 1 file not shown".into());
|
||||
} else {
|
||||
file_names.push(format!(".. {} files not shown", not_shown_files).into());
|
||||
file_names.push(format!(".. {} files not shown", not_shown_files));
|
||||
}
|
||||
}
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user