mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 16:35:29 +02:00
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