summaryrefslogtreecommitdiffstats
path: root/src/vp.rs
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-10-12 15:40:49 -0400
committerTavian Barnes <tavianator@tavianator.com>2021-10-12 15:40:49 -0400
commit09e55694247f1a9494374e99574cc65bace706e7 (patch)
treef60ddf5716a04721934fcc841789920116c90b8d /src/vp.rs
parent845dc470e959893422b6117f934e3c9cae3f4bd6 (diff)
downloadacap-09e55694247f1a9494374e99574cc65bace706e7.tar.xz
Fix some clippy lints
Diffstat (limited to 'src/vp.rs')
-rw-r--r--src/vp.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vp.rs b/src/vp.rs
index 965f484..3e1a8ad 100644
--- a/src/vp.rs
+++ b/src/vp.rs
@@ -198,7 +198,7 @@ impl<T: Proximity> VpTree<T> {
/// Iterate over the items stored in this tree.
pub fn iter(&self) -> Iter<T> {
- (&self).into_iter()
+ self.into_iter()
}
/// Rebalance this VP tree.
@@ -505,7 +505,7 @@ impl<T: Proximity> FlatVpTree<T> {
/// Iterate over the items stored in this tree.
pub fn iter(&self) -> FlatIter<T> {
- (&self).into_iter()
+ self.into_iter()
}
}