summaryrefslogtreecommitdiffstats
path: root/src/knn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/knn.rs')
-rw-r--r--src/knn.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/knn.rs b/src/knn.rs
index 1cc1f39..444c9a7 100644
--- a/src/knn.rs
+++ b/src/knn.rs
@@ -2,8 +2,6 @@
use crate::distance::{Distance, Proximity};
-use std::convert::TryInto;
-
/// A nearest neighbor.
#[derive(Clone, Copy, Debug)]
pub struct Neighbor<V, D> {
@@ -353,8 +351,6 @@ pub mod tests {
use rand::prelude::*;
- use std::iter::FromIterator;
-
type Point = Euclidean<[f32; 3]>;
/// Test an [ExactNeighbors] implementation.