diff --git a/milli/src/search/new/matches/mod.rs b/milli/src/search/new/matches/mod.rs index 2b87963ab..8dded0cab 100644 --- a/milli/src/search/new/matches/mod.rs +++ b/milli/src/search/new/matches/mod.rs @@ -503,7 +503,7 @@ mod tests { use super::*; use crate::SearchContext; - impl<'a, 'ctx> MatcherBuilder<'a, &[u8]> { + impl<'a> MatcherBuilder<'a, &[u8]> { pub fn new_test(mut ctx: SearchContext, query: &'a str) -> Self { let tokenizer = TokenizerBuilder::new().build(); let tokens = tokenizer.tokenize(query);