From 643a3a3fc2b9d0f47205741fa0b79941103d478d Mon Sep 17 00:00:00 2001 From: rito528 <39003544+rito528@users.noreply.github.com> Date: Sat, 16 Sep 2023 22:49:35 +0900 Subject: [PATCH] style: apply pretty --- server/infra/resource/src/database/form.rs | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/server/infra/resource/src/database/form.rs b/server/infra/resource/src/database/form.rs index e62ff776..fbbf44fb 100644 --- a/server/infra/resource/src/database/form.rs +++ b/server/infra/resource/src/database/form.rs @@ -447,14 +447,16 @@ impl FormDatabase for ConnectionPool { .all(&self.pool) .await? .into_iter() - .map(|entities::real_answers::Model { - question_id, - answer, - .. - }| AnswerDto { - question_id, - answer, - }) + .map( + |entities::real_answers::Model { + question_id, + answer, + .. + }| AnswerDto { + question_id, + answer, + }, + ) .collect_vec(); Ok(PostedAnswersDto {