From ccbf2124cbee2d7ba402bd0b5f6af67e2f083d56 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Thu, 7 Jan 2021 16:46:43 +0900 Subject: [PATCH] Run cargo fmt --- plume-models/src/search/actor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plume-models/src/search/actor.rs b/plume-models/src/search/actor.rs index e8b2f012..bc70011d 100644 --- a/plume-models/src/search/actor.rs +++ b/plume-models/src/search/actor.rs @@ -41,7 +41,7 @@ impl Actor for SearchActor { self.searcher .add_document(&conn.unwrap(), &post) .unwrap_or_else(|e| error!("{:?}", e)); - }, + } _ => { error!("Failed to get database connection"); } @@ -54,7 +54,7 @@ impl Actor for SearchActor { self.searcher .update_document(&conn.unwrap(), &post) .unwrap_or_else(|e| error!("{:?}", e)); - }, + } _ => { error!("Failed to get database connection"); }