diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-04-23 07:57:56 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-04-23 07:57:56 +0300 |
commit | a21cd46fc76ca7cb1c87a218c7c561d668a64125 (patch) | |
tree | bb1420b1a3d06ef6d699565f45543f881cc2c67d /src | |
parent | 5789af180a7f65d3fedd93be49cd8f767912eab7 (diff) | |
download | summain-rs-a21cd46fc76ca7cb1c87a218c7c561d668a64125.tar.gz |
drop use of rayon
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/summain.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/summain.rs b/src/bin/summain.rs index a2e2b7a..4336ebd 100644 --- a/src/bin/summain.rs +++ b/src/bin/summain.rs @@ -1,5 +1,4 @@ use anyhow::Context; -use rayon::prelude::*; use std::path::{Path, PathBuf}; use structopt::StructOpt; use summain::ManifestEntry; @@ -8,7 +7,7 @@ fn main() -> anyhow::Result<()> { let mut opt = Opt::from_args(); opt.pathnames[..].sort(); let v: Vec<anyhow::Result<ManifestEntry>> = - opt.pathnames.par_iter().map(|p| manifest(&p)).collect(); + opt.pathnames.iter().map(|p| manifest(&p)).collect(); for m in v { let m = m?; print!("{}", serde_yaml::to_string(&m)?); |