From f0e49dfcf389a099fd5a46c1ee8f7d2b89efeb00 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 19 Jun 2018 17:41:06 -0700 Subject: satisfy rustfmt --- rust/src/api_server.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rust/src/api_server.rs b/rust/src/api_server.rs index b6445535..44f266a4 100644 --- a/rust/src/api_server.rs +++ b/rust/src/api_server.rs @@ -81,7 +81,8 @@ macro_rules! wrap_entity_handlers { macro_rules! entity_batch_handler { ($post_handler:ident, $post_batch_handler:ident, $model:ident) => { - fn $post_batch_handler(&self, entity_list: &Vec) -> Result> { + fn $post_batch_handler(&self, entity_list: &Vec) -> + Result> { let conn = self.db_pool.get().expect("db_pool error"); // TODO: start a transaction let mut ret: Vec = vec![]; -- cgit v1.2.3