diff options
Diffstat (limited to 'src/exhaustive.rs')
-rw-r--r-- | src/exhaustive.rs | 2 |
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() } |