diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-10-12 15:40:49 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-10-12 15:40:49 -0400 |
commit | 09e55694247f1a9494374e99574cc65bace706e7 (patch) | |
tree | f60ddf5716a04721934fcc841789920116c90b8d /src/vp.rs | |
parent | 845dc470e959893422b6117f934e3c9cae3f4bd6 (diff) | |
download | acap-09e55694247f1a9494374e99574cc65bace706e7.tar.xz |
Fix some clippy lints
Diffstat (limited to 'src/vp.rs')
-rw-r--r-- | src/vp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() } } |