mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-06-03 09:00:42 +00:00
Minor lint comments (#1166)
This commit is contained in:
@@ -94,7 +94,7 @@ impl IndexReaderBuilder {
|
||||
}
|
||||
Ok(IndexReader {
|
||||
inner: inner_reader_arc,
|
||||
watch_handle_opt,
|
||||
_watch_handle_opt: watch_handle_opt,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -167,7 +167,7 @@ impl InnerIndexReader {
|
||||
#[derive(Clone)]
|
||||
pub struct IndexReader {
|
||||
inner: Arc<InnerIndexReader>,
|
||||
watch_handle_opt: Option<WatchHandle>,
|
||||
_watch_handle_opt: Option<WatchHandle>,
|
||||
}
|
||||
|
||||
impl IndexReader {
|
||||
|
||||
@@ -16,7 +16,6 @@ pub struct FragmentCandidate {
|
||||
score: Score,
|
||||
start_offset: usize,
|
||||
stop_offset: usize,
|
||||
num_chars: usize,
|
||||
highlighted: Vec<Range<usize>>,
|
||||
}
|
||||
|
||||
@@ -31,7 +30,6 @@ impl FragmentCandidate {
|
||||
score: 0.0,
|
||||
start_offset,
|
||||
stop_offset: start_offset,
|
||||
num_chars: 0,
|
||||
highlighted: vec![],
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user