diff options
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() } } |