summaryrefslogtreecommitdiff
path: root/src/files.rs
diff options
context:
space:
mode:
authorjakka <jakka@jakka.su>2025-10-09 15:08:19 +0300
committerjakka <jakka@jakka.su>2025-10-09 15:08:19 +0300
commit758eb9b36882310c1aa6c2e634d71f33fa85bd2b (patch)
tree61e309e77627bab9ea4c346ae30dea14e0e1a22d /src/files.rs
parenta60b1ee24ec72b10af449b6f580136c21cf0e009 (diff)
fixed async
finished merging main and fixing async functions
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 e29406d..78947a4 100644
--- a/src/files.rs
+++ b/src/files.rs
@@ -119,7 +119,7 @@ pub async fn index_files_recursively(
&& handler.load(Ordering::SeqCst)
{
#[allow(unused_variables)]
- if let Err(error) = smol::block_on(async { handle_file(&path, conn) }).await {
+ if let Err(error) = smol::block_on(async { handle_file(&path, conn).await }) {
#[cfg(not(test))]
bar.println(format!("{}", FileError::new(&path, error)));
} else {