mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-24 00:40:32 +00:00
cargo fmt
This commit is contained in:
parent
c3ecad87bf
commit
36a5210352
3 changed files with 4 additions and 9 deletions
|
@ -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::{
|
||||
|
|
|
@ -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()),
|
||||
))
|
||||
};
|
||||
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue