forked from extern/nushell
Rust 1.49 Clippy Fixes (#2835)
This commit is contained in:
@ -16,7 +16,7 @@ impl ToSqlite {
|
||||
}
|
||||
}
|
||||
fn comma_concat(acc: String, current: String) -> String {
|
||||
if acc == "" {
|
||||
if acc.is_empty() {
|
||||
current
|
||||
} else {
|
||||
format!("{}, {}", acc, current)
|
||||
|
Reference in New Issue
Block a user