Skip to content

Commit

Permalink
Minor lint comments (#1166)
Browse files Browse the repository at this point in the history
  • Loading branch information
fulmicoton authored Oct 6, 2021
1 parent 4d05b26 commit ffe4446
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/reader/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl IndexReaderBuilder {
}
Ok(IndexReader {
inner: inner_reader_arc,
watch_handle_opt,
_watch_handle_opt: watch_handle_opt,
})
}

Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 0 additions & 2 deletions src/snippet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ pub struct FragmentCandidate {
score: Score,
start_offset: usize,
stop_offset: usize,
num_chars: usize,
highlighted: Vec<Range<usize>>,
}

Expand All @@ -31,7 +30,6 @@ impl FragmentCandidate {
score: 0.0,
start_offset,
stop_offset: start_offset,
num_chars: 0,
highlighted: vec![],
}
}
Expand Down

0 comments on commit ffe4446

Please sign in to comment.