mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2025-02-17 23:45:20 +00:00
Fix Clippy warnings
This commit is contained in:
parent
8bdd481e0d
commit
487f296db5
2 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,6 @@ use activitystreams::activity::{Announce, Create, Delete, Follow, Like, Undo, Up
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
comments::Comment,
|
comments::Comment,
|
||||||
db_conn::DbConn,
|
|
||||||
follows, likes,
|
follows, likes,
|
||||||
posts::{Post, PostUpdate},
|
posts::{Post, PostUpdate},
|
||||||
reshares::Reshare,
|
reshares::Reshare,
|
||||||
|
|
|
@ -169,7 +169,7 @@ impl User {
|
||||||
}
|
}
|
||||||
|
|
||||||
for comment in Comment::list_by_author(conn, self.id)? {
|
for comment in Comment::list_by_author(conn, self.id)? {
|
||||||
let delete_activity = comment.build_delete(&conn)?;
|
let delete_activity = comment.build_delete(conn)?;
|
||||||
crate::inbox::inbox(
|
crate::inbox::inbox(
|
||||||
conn,
|
conn,
|
||||||
serde_json::to_value(&delete_activity).map_err(Error::from)?,
|
serde_json::to_value(&delete_activity).map_err(Error::from)?,
|
||||||
|
|
Loading…
Reference in a new issue