From: Dessalines Date: Mon, 17 Aug 2020 20:52:01 +0000 (-0400) Subject: Fixing some formatting. X-Git-Url: http://these/git/readmes/static/%7B%60/css/themes/%7BimageUploadUrl%7D?a=commitdiff_plain;h=ae39ddf03104ddcdf2ed87251937fd2361ccfa07;p=lemmy.git Fixing some formatting. --- diff --git a/server/lemmy_db/src/comment.rs b/server/lemmy_db/src/comment.rs index 05fe2d21..b2e22aa6 100644 --- a/server/lemmy_db/src/comment.rs +++ b/server/lemmy_db/src/comment.rs @@ -97,7 +97,10 @@ impl Comment { comment.filter(ap_id.eq(object_id)).first::(conn) } - pub fn permadelete_for_creator(conn: &PgConnection, for_creator_id: i32) -> Result, Error> { + pub fn permadelete_for_creator( + conn: &PgConnection, + for_creator_id: i32, + ) -> Result, Error> { use crate::schema::comment::dsl::*; diesel::update(comment.filter(creator_id.eq(for_creator_id))) .set(( diff --git a/server/lemmy_db/src/post.rs b/server/lemmy_db/src/post.rs index d73901bb..a6df50bf 100644 --- a/server/lemmy_db/src/post.rs +++ b/server/lemmy_db/src/post.rs @@ -95,7 +95,10 @@ impl Post { .get_result::(conn) } - pub fn permadelete_for_creator(conn: &PgConnection, for_creator_id: i32) -> Result, Error> { + pub fn permadelete_for_creator( + conn: &PgConnection, + for_creator_id: i32, + ) -> Result, Error> { use crate::schema::post::dsl::*; let perma_deleted = "*Permananently Deleted*";