mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-30 12:37:49 +00:00
Fix clippy::flat_map_option.
This commit is contained in:
parent
392344c93a
commit
3c26dd869e
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue