From d942f099de8128b5a02fe74f5af43a4453a06350 Mon Sep 17 00:00:00 2001 From: dullbananas Date: Tue, 1 Aug 2023 11:16:54 -0700 Subject: [PATCH] Fix syntatx errors --- crates/db_schema/src/lib.rs | 2 +- crates/db_views/src/local_user_view.rs | 2 +- crates/db_views_actor/src/comment_reply_view.rs | 2 +- crates/db_views_actor/src/person_mention_view.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/db_schema/src/lib.rs b/crates/db_schema/src/lib.rs index 477350f1b..656c5a8cb 100644 --- a/crates/db_schema/src/lib.rs +++ b/crates/db_schema/src/lib.rs @@ -28,7 +28,7 @@ extern crate macro_rules_attribute; #[macro_use] extern crate paste; -#[cfg(feature = "full)] +#[cfg(feature = "full")] #[macro_use] mod without_id; pub mod aggregates; diff --git a/crates/db_views/src/local_user_view.rs b/crates/db_views/src/local_user_view.rs index 78d42bb85..62596b844 100644 --- a/crates/db_views/src/local_user_view.rs +++ b/crates/db_views/src/local_user_view.rs @@ -28,7 +28,7 @@ fn queries<'a>( ) -> Queries>, impl ListFn<'a, LocalUserView, ListMode>> { let selection = ( local_user::all_columns, - PersonWithoutId::as_select(, + PersonWithoutId::as_select(), person_aggregates::all_columns, ); diff --git a/crates/db_views_actor/src/comment_reply_view.rs b/crates/db_views_actor/src/comment_reply_view.rs index 53017c122..965acb237 100644 --- a/crates/db_views_actor/src/comment_reply_view.rs +++ b/crates/db_views_actor/src/comment_reply_view.rs @@ -30,7 +30,7 @@ use lemmy_db_schema::{ source::{ comment::CommentWithoutId, comment_reply::CommentReply, - community::{CommunityWithoutId, CommunityFollower}, + community::{CommunityFollower, CommunityWithoutId}, person::PersonWithoutId, post::PostWithoutId, }, diff --git a/crates/db_views_actor/src/person_mention_view.rs b/crates/db_views_actor/src/person_mention_view.rs index df78294d6..ea5e7599b 100644 --- a/crates/db_views_actor/src/person_mention_view.rs +++ b/crates/db_views_actor/src/person_mention_view.rs @@ -30,7 +30,7 @@ use lemmy_db_schema::{ }, source::{ comment::CommentWithoutId, - community::{CommunityWithoutId, CommunityFollower}, + community::{CommunityFollower, CommunityWithoutId}, person::PersonWithoutId, person_mention::PersonMention, post::PostWithoutId,