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
Branches
Tags
1 merge request!50Resolve "Force WebOfTrust to impl Clone trait"
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment