summaryrefslogtreecommitdiff
path: root/src/files.rs
diff options
context:
space:
mode:
authorjakka <jakka@jakka.su>2025-07-07 14:25:43 +0300
committerjakka <jakka@jakka.su>2025-07-07 14:25:43 +0300
commit7d849251f2f7e4419a956452937c7b6e6134151e (patch)
treea9aa299bcda54bd0e5e47926c70d7f5a11f3ed68 /src/files.rs
parent8606b681b9c5dc702b78df46f6c7b851bbbfa697 (diff)
minor code cleanup
Diffstat (limited to 'src/files.rs')
-rw-r--r--src/files.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/files.rs b/src/files.rs
index d6d0c6b..4e09378 100644
--- a/src/files.rs
+++ b/src/files.rs
@@ -91,7 +91,7 @@ pub fn index_files_recursively(
for entry in WalkDir::new(&abspath) {
if handler.load(Ordering::SeqCst) {
- let path = entry.unwrap().into_path();
+ let path = entry?.into_path();
if !path.is_file() {
continue;
}