Skip to content

Commit

Permalink
Fix for older versions of Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp committed Feb 28, 2020
1 parent 9fe73ba commit 9cca9a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/walk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ fn spawn_senders(
if io_error.kind() == io::ErrorKind::NotFound
&& path
.symlink_metadata()
.ok()
.map_or(false, |m| m.file_type().is_symlink()) =>
{
DirEntry::BrokenSymlink(path.to_owned())
Expand Down

0 comments on commit 9cca9a2

Please sign in to comment.