From f923f204b335ace516fbb62f8b64e3bf6504f1c3 Mon Sep 17 00:00:00 2001 From: Anders Olsson Date: Wed, 18 Sep 2019 14:18:57 +0200 Subject: [PATCH] Added clone to Rating. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index af50db1..fda51b8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -72,7 +72,7 @@ pub trait RateableMut { fn sigma_mut(&mut self) -> &mut f64; } -#[derive(Debug, PartialEq)] +#[derive(Debug, PartialEq, Clone)] pub struct Rating { pub mu: f64, pub sigma: f64,