clippy: fix needless_lifetimes warnings

This commit is contained in:
Laurentiu Nicola
2017-05-17 15:50:07 +09:00
committed by Paul Masurel
parent 6fea510869
commit 4e48bbf0ea
+1 -1
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())
}