dataset-collector: remove unstable feature
This commit is contained in:
parent
df1e00df8f
commit
36081d34af
2 changed files with 1 additions and 3 deletions
|
@ -1,5 +1,3 @@
|
|||
#![feature(iterator_try_collect)]
|
||||
|
||||
use anyhow::Result;
|
||||
use clap::Parser;
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ pub async fn run(args: Args) -> Result<()> {
|
|||
let files = args
|
||||
.output
|
||||
.read_dir()?
|
||||
.try_collect::<Vec<_>>()?
|
||||
.collect::<Result<Vec<_>, std::io::Error>>()?
|
||||
.into_iter()
|
||||
.filter(|e| e.file_name().to_str().unwrap().starts_with("FFFF_"))
|
||||
.map(|e| e.path())
|
||||
|
|
Loading…
Reference in a new issue