From 80c7a00567596191d6155ae84764b7d7666ac2db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Lecrenier?= Date: Tue, 6 Dec 2022 15:19:26 +0100 Subject: [PATCH] Fix compilation error in tests of settings update --- milli/src/update/settings.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/milli/src/update/settings.rs b/milli/src/update/settings.rs index b66893ee3..db6bbf602 100644 --- a/milli/src/update/settings.rs +++ b/milli/src/update/settings.rs @@ -726,15 +726,14 @@ impl<'a, 't, 'u, 'i> Settings<'a, 't, 'u, 'i> { #[cfg(test)] mod tests { - use big_s::S; - use heed::types::ByteSlice; - use maplit::{btreeset, hashmap, hashset}; - use super::*; use crate::error::Error; use crate::index::tests::TempIndex; - use crate::update::DeleteDocuments; + use crate::update::{ClearDocuments, DeleteDocuments}; use crate::{Criterion, Filter, SearchResult}; + use big_s::S; + use heed::types::ByteSlice; + use maplit::{btreeset, hashmap, hashset}; #[test] fn set_and_reset_searchable_fields() {