From 41441fcbc4bc097a59383d88f0f79dbf64f66c9b Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 24 Oct 2021 12:04:33 -0400 Subject: Update to the 2021 edition --- src/forest.rs | 2 +- src/soft.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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. -- cgit v1.2.3