[Auto] bin/core/header: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com> Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
e2395b0474
commit
dfa2c97c8d
2 changed files with 1 additions and 2 deletions
|
@ -93,7 +93,7 @@ fn main() {
|
||||||
})
|
})
|
||||||
.into_iter();
|
.into_iter();
|
||||||
|
|
||||||
let iter = StoreIdIterator::new(Box::new(sids.into_iter().map(Ok)))
|
let iter = StoreIdIterator::new(Box::new(sids.map(Ok)))
|
||||||
.into_get_iter(rt.store())
|
.into_get_iter(rt.store())
|
||||||
.trace_unwrap_exit()
|
.trace_unwrap_exit()
|
||||||
.filter_map(|x| x);
|
.filter_map(|x| x);
|
||||||
|
|
|
@ -237,7 +237,6 @@ impl IdPathProvider for PathProvider {
|
||||||
fn get_ids(matches: &ArgMatches) -> Result<Option<Vec<StoreId>>> {
|
fn get_ids(matches: &ArgMatches) -> Result<Option<Vec<StoreId>>> {
|
||||||
matches.values_of("id")
|
matches.values_of("id")
|
||||||
.map(|v| v
|
.map(|v| v
|
||||||
.into_iter()
|
|
||||||
.map(PathBuf::from)
|
.map(PathBuf::from)
|
||||||
.map(|pb| pb.into_storeid())
|
.map(|pb| pb.into_storeid())
|
||||||
.collect::<Result<Vec<_>>>()
|
.collect::<Result<Vec<_>>>()
|
||||||
|
|
Loading…
Reference in a new issue