diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-07-04 16:50:15 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-07-04 16:50:15 -0400 |
commit | 845dc470e959893422b6117f934e3c9cae3f4bd6 (patch) | |
tree | 914593685325b01ccecbe0d28398d03421252ba0 /src | |
parent | 8c3d0b3fc7cd430b4b8bb91e9e71922404ce5040 (diff) | |
download | acap-845dc470e959893422b6117f934e3c9cae3f4bd6.tar.xz |
exhaustive: Derive Clone
Diffstat (limited to 'src')
-rw-r--r-- | src/exhaustive.rs | 2 |
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> { |