From 845dc470e959893422b6117f934e3c9cae3f4bd6 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 4 Jul 2021 16:50:15 -0400 Subject: exhaustive: Derive Clone --- src/exhaustive.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/exhaustive.rs b/src/exhaustive.rs index f0abf9c..626c6f4 100644 --- a/src/exhaustive.rs +++ b/src/exhaustive.rs @@ -6,7 +6,7 @@ use crate::knn::{ExactNeighbors, NearestNeighbors, Neighborhood}; use std::iter::FromIterator; /// A [`NearestNeighbors`] implementation that does exhaustive search. -#[derive(Debug)] +#[derive(Clone, Debug)] pub struct ExhaustiveSearch(Vec); impl ExhaustiveSearch { -- cgit v1.2.3