Skip to content

Commit

Permalink
Fix clippy warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpfs committed Feb 8, 2024
1 parent b994887 commit a763aba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ impl<T: Eq + Hash + Copy + Debug> Index<T> {
/// Performs a search with a simple free text query.
///
/// All token separators work as a disjunction operator.
pub fn query<'a, M, S: ScoreCalculator<T, M>>(
pub fn query<M, S: ScoreCalculator<T, M>>(
&self,
query: &'a str,
query: &str,
score_calculator: &mut S,
tokenizer: Tokenizer,
fields_boost: &[f64],
Expand Down

0 comments on commit a763aba

Please sign in to comment.