Skip to content

Commit

Permalink
style: apply pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Sep 16, 2023
1 parent a3cfdf8 commit 643a3a3
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions server/infra/resource/src/database/form.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 643a3a3

Please sign in to comment.