From 7d849251f2f7e4419a956452937c7b6e6134151e Mon Sep 17 00:00:00 2001 From: jakka Date: Mon, 7 Jul 2025 14:25:43 +0300 Subject: minor code cleanup --- src/files.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.3.1