summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-07-04 16:50:15 -0400
committerTavian Barnes <tavianator@tavianator.com>2021-07-04 16:50:15 -0400
commit845dc470e959893422b6117f934e3c9cae3f4bd6 (patch)
tree914593685325b01ccecbe0d28398d03421252ba0
parent8c3d0b3fc7cd430b4b8bb91e9e71922404ce5040 (diff)
downloadacap-845dc470e959893422b6117f934e3c9cae3f4bd6.tar.xz
exhaustive: Derive Clone
-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> {