From ba8dcc2d78dc6aca5adfdee3be9ef0804a37b372 Mon Sep 17 00:00:00 2001 From: ManyTheFish Date: Thu, 6 Apr 2023 15:50:47 +0200 Subject: [PATCH] Fix clippy --- milli/src/search/new/matches/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);