Skip to content

Commit

Permalink
Fix clippy::flat_map_option.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcampbell24 committed Sep 25, 2024
1 parent 392344c commit 3c26dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uu/ls/src/ls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ impl Config {
options::FULL_TIME,
]
.iter()
.flat_map(|opt| {
.filter_map(|opt| {
if options.value_source(opt) == Some(clap::parser::ValueSource::CommandLine) {
options.indices_of(opt)
} else {
Expand Down

0 comments on commit 3c26dd8

Please sign in to comment.