From 85f5e7d0bb9fef6721ec514f9bb4d5403d58c868 Mon Sep 17 00:00:00 2001 From: Julian Braha Date: Wed, 24 Jan 2024 18:10:11 +0000 Subject: [PATCH] Fix formatting with cargo-fmt --- crates/semantic_index/src/semantic_index_tests.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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());