Remove some unused #[derive] (#473)

We used to need them, probably when we were using Tera.
This commit is contained in:
Baptiste Gelez
2019-03-12 19:40:54 +01:00
committed by GitHub
parent 6405bd7261
commit 42dca3daae
24 changed files with 23 additions and 37 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
use activitypub::{
activity::{Accept, Follow as FollowAct, Undo},
actor::Person,
Actor,
};
use diesel::{self, ExpressionMethods, QueryDsl, RunQueryDsl, SaveChangesDsl};
@@ -74,7 +73,7 @@ impl Follow {
/// from -> The one sending the follow request
/// target -> The target of the request, responding with Accept
pub fn accept_follow<A: Signer + IntoId + Clone, B: Clone + WithInbox + Actor + IntoId>(
pub fn accept_follow<A: Signer + IntoId + Clone, B: Clone + WithInbox + IntoId>(
conn: &Connection,
from: &B,
target: &A,