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

Merge branch '60-force-weboftrust-to-impl-clone-trait' into 'dev'

Resolve "Force WebOfTrust to impl Clone trait"

Closes #60

See merge request !50
parents 72bac11c 352e233c
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