summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 7ff8725..206a13b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -106,8 +106,7 @@ fn main() -> Result<()> {
let pool = rayon::ThreadPoolBuilder::new()
.num_threads(*args.get_one::<usize>("threads").unwrap())
- .build()
- .unwrap();
+ .build()?;
if let Some(realpath) = path {
let hanlder = running.clone();