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.

Remove TODOs from semantic index build-up (#10789)

Kyle Kelleycd6acff63591
diff --git a/crates/semantic_index/src/semantic_index.rs b/crates/semantic_index/src/semantic_index.rs
index 86c18c6fe66..a43d9e177c1 100644
--- a/crates/semantic_index/src/semantic_index.rs
+++ b/crates/semantic_index/src/semantic_index.rs
@@ -599,7 +599,6 @@ impl WorktreeIndex {
let mut embeddings = Vec::new();
for embedding_batch in chunks.chunks(embedding_provider.batch_size()) {
- // todo!("add a retry facility")
embeddings.extend(embedding_provider.embed(embedding_batch).await?);
}
@@ -889,7 +888,6 @@ mod tests {
.await
.unwrap();
- // todo!(): use a fixture
let project_path = Path::new("./fixture");
let project = cx