diff --git a/crates/semantic_index/src/semantic_index_tests.rs b/crates/semantic_index/src/semantic_index_tests.rs index 837a468cb8..69f0472dfd 100644 --- a/crates/semantic_index/src/semantic_index_tests.rs +++ b/crates/semantic_index/src/semantic_index_tests.rs @@ -63,9 +63,7 @@ async fn test_semantic_index(cx: &mut TestAppContext) { languages.add(rust_language); languages.add(toml_language); - let db_dir = tempfile::Builder::new() - .prefix("vector-store") - .tempdir(); + let db_dir = tempfile::Builder::new().prefix("vector-store").tempdir(); let db_path = db_dir.path().join("db.sqlite"); let embedding_provider = Arc::new(FakeEmbeddingProvider::default());