mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-14 03:24:00 +00:00
Fix clippy.
This commit is contained in:
parent
f752e3cd63
commit
5da27437a8
|
@ -542,7 +542,7 @@ impl PostView {
|
||||||
my_person_id: Option<PersonId>,
|
my_person_id: Option<PersonId>,
|
||||||
is_mod_or_admin: bool,
|
is_mod_or_admin: bool,
|
||||||
) -> Result<Self, Error> {
|
) -> Result<Self, Error> {
|
||||||
let mut res = queries()
|
let res = queries()
|
||||||
.read(pool, (post_id, my_person_id, is_mod_or_admin))
|
.read(pool, (post_id, my_person_id, is_mod_or_admin))
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue