From 139fe380bc2cbdb49ee9b165910e0e8af9004ede Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Thu, 24 Mar 2022 22:57:13 +0000 Subject: [PATCH] Cargo fmt --- quickpeep_index/src/backend/tantivy.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/quickpeep_index/src/backend/tantivy.rs b/quickpeep_index/src/backend/tantivy.rs index ffd1198..cc19dff 100644 --- a/quickpeep_index/src/backend/tantivy.rs +++ b/quickpeep_index/src/backend/tantivy.rs @@ -90,10 +90,10 @@ impl Backend for TantivyBackend { } = &self.fields; let mut tantivy_doc = doc! { - *title => document.title, - *article => document.article_body, - *nonarticle => document.nonarticle_body, - *url => document.url + *title => document.title, + *article => document.article_body, + *nonarticle => document.nonarticle_body, + *url => document.url }; // TODO do we actually want facets? How about u64 tags or something...? for tag in &document.tags {