From 352e233c6fab49f82740f2306bda1dcf4ef90b75 Mon Sep 17 00:00:00 2001 From: librelois <elois@ifee.fr> Date: Thu, 19 Apr 2018 03:58:17 +0200 Subject: [PATCH] #60 force WoT to impl Clone trait --- wotb/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wotb/lib.rs b/wotb/lib.rs index 5a388cf2..8d760fb1 100644 --- a/wotb/lib.rs +++ b/wotb/lib.rs @@ -166,7 +166,7 @@ pub struct WotDistance { /// Trait for a Web Of Trust. /// Allow to provide other implementations of the `WoT` logic instead of the legacy C++ /// translated one. -pub trait WebOfTrust { +pub trait WebOfTrust: Clone { /// Get the maximum number of links per user. fn get_max_link(&self) -> usize; -- GitLab