Skip to content
Myr

Solve clippy issues

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

authored by sharkdp · committed by sharkdp · parent 33df48e · Browse files · 1 file+2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:src/walk.rs+2 added-2 removed
325 unmodified lines
326 .symlink_metadata()327 .ok()328 .map_or(false, |m| m.file_type().is_symlink()) =>329 {330 DirEntry::BrokenSymlink(path.to_owned())330 DirEntry::BrokenSymlink(path)331 }332 _ => {333 tx_thread334 .send(WorkerResult::Error(ignore::Error::WithPath {
104 unmodified lines
439 }440441 let send_result = tx_thread.send(WorkerResult::Entry(entry_path.to_owned()));442443 if !send_result.is_ok() {443 if send_result.is_err() {444 return ignore::WalkState::Quit;445 }446447 ignore::WalkState::Continue
3 unmodified lines