Skip to content
Myr

fix: Remove unnecessary collection into a vec.

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

authored by Thayne McCombs · committed by Thayne McCombs · parent ccf8e69 · Browse files · 1 file+1 added−4 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−4 removed

  • other:+1 added−4 removed

1 file+1 added−4 removed

modified:src/walk.rs+1 added-4 removed
359 unmodified lines
360361 // Push the handle of the spawned thread into the vector for later joining.362 handles.push(handle);363 }364 let exit_codes = handles365 .into_iter()366 .map(|handle| handle.join().unwrap())367 .collect::<Vec<_>>();364 let exit_codes = handles.into_iter().map(|handle| handle.join().unwrap());365 merge_exitcodes(exit_codes)366 })367 }368 } else {
185 unmodified lines