From a5571683494844533bb7f594dc7a0bc265e5da5d Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 17 May 2021 16:39:33 +0200 Subject: [PATCH] Derive Clone for Builder --- instant-distance/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/instant-distance/src/lib.rs b/instant-distance/src/lib.rs index 4267982..650c598 100644 --- a/instant-distance/src/lib.rs +++ b/instant-distance/src/lib.rs @@ -18,6 +18,7 @@ mod types; pub use types::PointId; use types::{Candidate, Layer, LayerId, UpperNode, Visited, ZeroNode, INVALID}; +#[derive(Clone)] /// Parameters for building the `Hnsw` pub struct Builder { ef_search: usize,