From ae17c62e24583cbc12d79701937803d42d7707a1 Mon Sep 17 00:00:00 2001 From: ManyTheFish Date: Thu, 6 Apr 2023 14:07:18 +0200 Subject: [PATCH] Remove warnings --- milli/src/search/new/matches/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/milli/src/search/new/matches/mod.rs b/milli/src/search/new/matches/mod.rs index 2a9596902..2b87963ab 100644 --- a/milli/src/search/new/matches/mod.rs +++ b/milli/src/search/new/matches/mod.rs @@ -5,9 +5,6 @@ pub use matching_words::MatchingWords; use matching_words::{MatchType, PartialMatch, WordId}; use serde::Serialize; -use super::query_term::LocatedQueryTerm; -use crate::SearchContext; - pub mod matching_words; const DEFAULT_CROP_MARKER: &str = "…"; @@ -504,6 +501,7 @@ mod tests { use super::super::located_query_terms_from_string; use super::*; + use crate::SearchContext; impl<'a, 'ctx> MatcherBuilder<'a, &[u8]> { pub fn new_test(mut ctx: SearchContext, query: &'a str) -> Self {