fix(ls): fix a clippy warning

"this `if` has identical blocks"
This commit is contained in:
Sylvestre Ledru 2021-03-19 14:25:05 +01:00
parent 621511dcac
commit 976fa95ce8

View file

@ -173,8 +173,6 @@ impl Config {
Format::Long
} else if options.is_present(options::format::ONELINE) {
Format::OneLine
} else if options.is_present(options::format::COLUMNS) {
Format::Columns
} else {
Format::Columns
};