mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-31 13:07:46 +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,
|
options::FULL_TIME,
|
||||||
]
|
]
|
||||||
.iter()
|
.iter()
|
||||||
.flat_map(|opt| {
|
.filter_map(|opt| {
|
||||||
if options.value_source(opt) == Some(clap::parser::ValueSource::CommandLine) {
|
if options.value_source(opt) == Some(clap::parser::ValueSource::CommandLine) {
|
||||||
options.indices_of(opt)
|
options.indices_of(opt)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue