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