mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-01-07 09:32:54 +00:00
clippy: fix needless_lifetimes warnings
This commit is contained in:
committed by
Paul Masurel
parent
6fea510869
commit
4e48bbf0ea
@@ -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())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user