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 23a490f..3f42876 100644
--- a/src/exhaustive.rs
+++ b/src/exhaustive.rs
@@ -16,7 +16,7 @@ impl<T> ExhaustiveSearch<T> {
}
/// Iterate over the items stored in this index.
- pub fn iter(&self) -> Iter<T> {
+ pub fn iter(&self) -> Iter<'_, T> {
self.into_iter()
}