dataset-collector: remove unstable feature

This commit is contained in:
xtex 2024-08-27 21:41:55 +08:00
parent df1e00df8f
commit 36081d34af
Signed by: xtex
GPG key ID: B918086ED8045B91
2 changed files with 1 additions and 3 deletions

View file

@ -1,5 +1,3 @@
#![feature(iterator_try_collect)]
use anyhow::Result;
use clap::Parser;

View file

@ -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())