summaryrefslogtreecommitdiffstats
path: root/src/exhaustive.rs
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-10-21 14:00:45 -0400
committerTavian Barnes <tavianator@tavianator.com>2021-10-21 14:00:45 -0400
commitbf2a10ca3b54ac3ed3dcc9c25cb1cf7f07ba8135 (patch)
tree632db87bfa81c29575dfdb7834b44c0226a34248 /src/exhaustive.rs
parent09e55694247f1a9494374e99574cc65bace706e7 (diff)
downloadacap-bf2a10ca3b54ac3ed3dcc9c25cb1cf7f07ba8135.tar.xz
Add explicit '_ lifetimes to generic types
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()
}