Skip to content

Commit

Permalink
walk: New WorkerState struct shared by the worker threads
Browse files Browse the repository at this point in the history
  • Loading branch information
tavianator committed Nov 2, 2023
1 parent cd32a38 commit 927ad0c
Show file tree
Hide file tree
Showing 2 changed files with 316 additions and 292 deletions.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ fn run() -> Result<ExitCode> {
.map(|pat| build_regex(pat, &config))
.collect::<Result<Vec<Regex>>>()?;

walk::scan(&search_paths, Arc::new(regexps), Arc::new(config))
walk::scan(&search_paths, regexps, config)
}

#[cfg(feature = "completions")]
Expand Down
Loading

0 comments on commit 927ad0c

Please sign in to comment.