From aa233abb4187ebb045566b9b24bd44b7cac89399 Mon Sep 17 00:00:00 2001 From: Bat Date: Fri, 18 May 2018 23:28:40 +0100 Subject: [PATCH] Remove useless trait --- src/activity_pub/object.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/activity_pub/object.rs b/src/activity_pub/object.rs index c705d236..c3d76893 100644 --- a/src/activity_pub/object.rs +++ b/src/activity_pub/object.rs @@ -1,14 +1,9 @@ use diesel::PgConnection; use serde_json; -use activity_pub::actor::Actor; - pub trait Object { fn serialize(&self, conn: &PgConnection) -> serde_json::Value; fn compute_id(&self, conn: &PgConnection) -> String; } -pub trait Attribuable { - fn set_attribution(&self, by: &T) where T: Actor; -}