Skip to content
Snippets Groups Projects
Commit 352e233c authored by Éloïs's avatar Éloïs
Browse files

#60 force WoT to impl Clone trait

parent 72bac11c
No related branches found
No related tags found
1 merge request!50Resolve "Force WebOfTrust to impl Clone trait"
...@@ -166,7 +166,7 @@ pub struct WotDistance { ...@@ -166,7 +166,7 @@ pub struct WotDistance {
/// Trait for a Web Of Trust. /// Trait for a Web Of Trust.
/// Allow to provide other implementations of the `WoT` logic instead of the legacy C++ /// Allow to provide other implementations of the `WoT` logic instead of the legacy C++
/// translated one. /// translated one.
pub trait WebOfTrust { pub trait WebOfTrust: Clone {
/// Get the maximum number of links per user. /// Get the maximum number of links per user.
fn get_max_link(&self) -> usize; fn get_max_link(&self) -> usize;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment