summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/exhaustive.rs2
1 files changed, 1 insertions, 1 deletions
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<T>(Vec<T>);
impl<T> ExhaustiveSearch<T> {