1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

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 Format::Long
} else if options.is_present(options::format::ONELINE) { } else if options.is_present(options::format::ONELINE) {
Format::OneLine Format::OneLine
} else if options.is_present(options::format::COLUMNS) {
Format::Columns
} else { } else {
Format::Columns Format::Columns
}; };