diff options
author | Canop <cano.petrole@gmail.com> | 2023-01-03 19:47:06 +0100 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2023-01-03 19:47:06 +0100 |
commit | c641b27f7f47d9e66c6426fa605cb79841494c7b (patch) | |
tree | b35aadfd8be88a807d3ab70f1c08c982dfe8470a /src/file_sum/sum_computation.rs | |
parent | 428205c11213b3c830984b58ab8cc9f7aa41a7d8 (diff) |
version 1.19.0v1.19.0
Diffstat (limited to 'src/file_sum/sum_computation.rs')
-rw-r--r-- | src/file_sum/sum_computation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_sum/sum_computation.rs b/src/file_sum/sum_computation.rs index c997375..344f4a7 100644 --- a/src/file_sum/sum_computation.rs +++ b/src/file_sum/sum_computation.rs @@ -181,7 +181,7 @@ impl DirSummer { loop { let o = dirs_receiver.recv(); if let Ok(Some(open_dir)) = o { - if let Ok(entries) = fs::read_dir(&open_dir) { + if let Ok(entries) = fs::read_dir(open_dir) { for e in entries.flatten() { if let Ok(md) = e.metadata() { if md.is_dir() { |