diff --git a/src/reader/mod.rs b/src/reader/mod.rs index 679abc7c0a..ea68d34430 100644 --- a/src/reader/mod.rs +++ b/src/reader/mod.rs @@ -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, - watch_handle_opt: Option, + _watch_handle_opt: Option, } impl IndexReader { diff --git a/src/snippet/mod.rs b/src/snippet/mod.rs index b431302784..932fff4674 100644 --- a/src/snippet/mod.rs +++ b/src/snippet/mod.rs @@ -16,7 +16,6 @@ pub struct FragmentCandidate { score: Score, start_offset: usize, stop_offset: usize, - num_chars: usize, highlighted: Vec>, } @@ -31,7 +30,6 @@ impl FragmentCandidate { score: 0.0, start_offset, stop_offset: start_offset, - num_chars: 0, highlighted: vec![], } }