From 5da27437a8eae699bbe1d649f71f2c4816905c2c Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 20 Oct 2023 11:10:50 -0400 Subject: [PATCH] Fix clippy. --- crates/db_views/src/post_view.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/db_views/src/post_view.rs b/crates/db_views/src/post_view.rs index cacb8d71b..efb3bfef8 100644 --- a/crates/db_views/src/post_view.rs +++ b/crates/db_views/src/post_view.rs @@ -542,7 +542,7 @@ impl PostView { my_person_id: Option, is_mod_or_admin: bool, ) -> Result { - let mut res = queries() + let res = queries() .read(pool, (post_id, my_person_id, is_mod_or_admin)) .await?;