From 976fa95ce83487a21a6151386f5c8528ca74c0a3 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 19 Mar 2021 14:25:05 +0100 Subject: [PATCH] fix(ls): fix a clippy warning "this `if` has identical blocks" --- src/uu/ls/src/ls.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/uu/ls/src/ls.rs b/src/uu/ls/src/ls.rs index 5c4cdaa80..10bba98f7 100644 --- a/src/uu/ls/src/ls.rs +++ b/src/uu/ls/src/ls.rs @@ -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 };