summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-10-24 12:04:33 -0400
committerTavian Barnes <tavianator@tavianator.com>2021-10-24 12:04:33 -0400
commit41441fcbc4bc097a59383d88f0f79dbf64f66c9b (patch)
tree6cd16e557908bdd6fe6c05e40e10fcdecd7c7878 /src
parentdea53e1b7ed7096d6db9485ea3a8bdeb04ad30a3 (diff)
downloadkd-forest-41441fcbc4bc097a59383d88f0f79dbf64f66c9b.tar.xz
Update to the 2021 edition
Diffstat (limited to 'src')
-rw-r--r--src/forest.rs2
-rw-r--r--src/soft.rs1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/forest.rs b/src/forest.rs
index d4f5083..28ccb24 100644
--- a/src/forest.rs
+++ b/src/forest.rs
@@ -5,7 +5,7 @@ use acap::kd::FlatKdTree;
use acap::knn::{NearestNeighbors, Neighborhood};
use acap::vp::FlatVpTree;
-use std::iter::{self, Extend, FromIterator};
+use std::iter;
/// The number of bits dedicated to the flat buffer.
const BUFFER_BITS: usize = 6;
diff --git a/src/soft.rs b/src/soft.rs
index 694d0e7..4ce4204 100644
--- a/src/soft.rs
+++ b/src/soft.rs
@@ -8,7 +8,6 @@ use acap::knn::{NearestNeighbors, Neighborhood};
use acap::vp::FlatVpTree;
use std::iter;
-use std::iter::FromIterator;
use std::mem;
/// A trait for objects that can be soft-deleted.