Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

chore: fix compiler warning

Piotr Osiewiczc68b518aecc1
diff --git a/crates/semantic_index/src/semantic_index.rs b/crates/semantic_index/src/semantic_index.rs
index 2534988196e..5aaecac733a 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,