cargo fmt

pull/3755/head
dullbananas 2023-08-02 13:08:44 -07:00 committed by GitHub
parent c3ecad87bf
commit 36a5210352
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 9 deletions

View File

@ -359,13 +359,7 @@ mod tests {
#![allow(clippy::indexing_slicing)]
use crate::{
comment_view::{
Comment,
CommentQuery,
CommentSortType,
CommentView,
DbPool,
},
comment_view::{Comment, CommentQuery, CommentSortType, CommentView, DbPool},
structs::LocalUserView,
};
use lemmy_db_schema::{

View File

@ -85,7 +85,8 @@ fn queries<'a>() -> Queries<
community_person_ban::id.nullable().is_not_null(),
post_like::score.nullable(),
PostAggregatesNotInPost::as_select(),
aliases::person2.fields(<PersonWithoutId as Selectable<Pg>>::construct_selection().nullable()),
aliases::person2
.fields(<PersonWithoutId as Selectable<Pg>>::construct_selection().nullable()),
))
};

View File

@ -252,7 +252,7 @@ impl JoinView for PersonMentionView {
my_vote,
): Self::JoinTuple,
) -> Self {
let comment = comment.into_full(person_mention.comment_id),
let comment = comment.into_full(person_mention.comment_id);
Self {
counts: counts.into_full(&comment),
recipient: recipient.into_full(person_mention.recipient_id),