Skip to content
Myr

inline value used only once

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Alexandru Macovei · committed by David Peter · parent df4227c · Browse files · 1 file+1 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−2 removed

  • other:+1 added−2 removed

1 file+1 added−2 removed

modified:src/walk.rs+1 added-2 removed
51 unmodified lines
52 let first_path_buf = path_iter53 .next()54 .expect("Error: Path vector can not be empty");55 let (tx, rx) = channel();56 let threads = config.threads;5657 let mut override_builder = OverrideBuilder::new(first_path_buf.as_path());5859 for pattern in &config.exclude_patterns {
44 unmodified lines
104 for path_entry in path_iter {105 walker.add(path_entry.as_path());106 }107109 let parallel_walker = walker.threads(threads).build_parallel();108 let parallel_walker = walker.threads(config.threads).build_parallel();109110 let wants_to_quit = Arc::new(AtomicBool::new(false));111 if config.ls_colors.is_some() && config.command.is_none() {112 let wq = Arc::clone(&wants_to_quit);
266 unmodified lines