From b7f2428961198cfaee5f601d94925099723d070c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Lecrenier?= Date: Wed, 26 Oct 2022 13:49:33 +0200 Subject: [PATCH] Fix formatting and warning after rebasing from main --- milli/src/heed_codec/mod.rs | 5 +++-- milli/src/update/index_documents/mod.rs | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/milli/src/heed_codec/mod.rs b/milli/src/heed_codec/mod.rs index 6a058f95f..702dcf661 100644 --- a/milli/src/heed_codec/mod.rs +++ b/milli/src/heed_codec/mod.rs @@ -9,6 +9,9 @@ mod str_beu32_codec; mod str_ref; mod str_str_u8_codec; +pub use byte_slice_ref::ByteSliceRefCodec; +pub use str_ref::StrRefCodec; + pub use self::beu32_str_codec::BEU32StrCodec; pub use self::field_id_word_count_codec::FieldIdWordCountCodec; pub use self::obkv_codec::ObkvCodec; @@ -18,5 +21,3 @@ pub use self::roaring_bitmap_length::{ }; pub use self::str_beu32_codec::StrBEU32Codec; pub use self::str_str_u8_codec::{U8StrStrCodec, UncheckedU8StrStrCodec}; -pub use byte_slice_ref::ByteSliceRefCodec; -pub use str_ref::StrRefCodec; diff --git a/milli/src/update/index_documents/mod.rs b/milli/src/update/index_documents/mod.rs index 7b02fd1af..10a831ddf 100644 --- a/milli/src/update/index_documents/mod.rs +++ b/milli/src/update/index_documents/mod.rs @@ -35,8 +35,8 @@ use crate::documents::{obkv_to_object, DocumentsBatchReader}; use crate::error::UserError; pub use crate::update::index_documents::helpers::CursorClonableMmap; use crate::update::{ - self, FacetsUpdateBulk, IndexerConfig, UpdateIndexingStep, WordPrefixDocids, - PrefixWordPairsProximityDocids, WordPrefixPositionDocids, WordsPrefixesFst, + self, IndexerConfig, PrefixWordPairsProximityDocids, UpdateIndexingStep, WordPrefixDocids, + WordPrefixPositionDocids, WordsPrefixesFst, }; use crate::{Index, Result, RoaringBitmapCodec};