clippy: fix needless_lifetimes warnings

This commit is contained in:
Laurentiu Nicola
2017-05-16 20:19:36 +03:00
committed by Paul Masurel
parent 6fea510869
commit 4e48bbf0ea

View File

@@ -57,7 +57,7 @@ impl Searcher {
///
/// # Warning
/// This API is very likely to change in the future.
pub fn terms<'a>(&'a self) -> TermIterator<'a> {
pub fn terms(&self) -> TermIterator {
TermIterator::from(self.segment_readers())
}