From c68b518aecc119b36886096d49bfe04b96ced74a Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Mon, 21 Aug 2023 13:31:45 +0200 Subject: [PATCH] chore: fix compiler warning Co-authored-by: Kyle --- crates/semantic_index/src/semantic_index.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/semantic_index/src/semantic_index.rs b/crates/semantic_index/src/semantic_index.rs index 2534988196..5aaecac733 100644 --- a/crates/semantic_index/src/semantic_index.rs +++ b/crates/semantic_index/src/semantic_index.rs @@ -393,7 +393,7 @@ impl SemanticIndex { } } else { // Insert the file in spite of failure so that future attempts to index it do not take place (unless the file is changed). - for (worktree_id, documents, path, mtime, job_handle) in embeddings_queue.into_iter() { + for (worktree_id, _, path, mtime, job_handle) in embeddings_queue.into_iter() { db_update_tx .send(DbOperation::InsertFile { worktree_id,