summaryrefslogtreecommitdiffstats
path: root/src/exhaustive.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/exhaustive.rs')
-rw-r--r--src/exhaustive.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exhaustive.rs b/src/exhaustive.rs
index 626c6f4..23a490f 100644
--- a/src/exhaustive.rs
+++ b/src/exhaustive.rs
@@ -17,7 +17,7 @@ impl<T> ExhaustiveSearch<T> {
/// Iterate over the items stored in this index.
pub fn iter(&self) -> Iter<T> {
- (&self).into_iter()
+ self.into_iter()
}
/// Get the size of this index.