From 78d9f0622df253b5e90b400e710a83ba2fddb789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Lecrenier?= Date: Wed, 17 Aug 2022 12:21:00 +0200 Subject: [PATCH] cargo fmt --- milli/src/update/word_prefix_pair_proximity_docids.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/milli/src/update/word_prefix_pair_proximity_docids.rs b/milli/src/update/word_prefix_pair_proximity_docids.rs index 4e25e0c73..cf5e19a5c 100644 --- a/milli/src/update/word_prefix_pair_proximity_docids.rs +++ b/milli/src/update/word_prefix_pair_proximity_docids.rs @@ -702,16 +702,14 @@ impl PrefixTrieNode { } #[cfg(test)] mod tests { + use std::io::Cursor; + use roaring::RoaringBitmap; use super::*; - use crate::{CboRoaringBitmapCodec, StrStrU8Codec}; - - use std::io::Cursor; - - use crate::db_snap; use crate::documents::{DocumentsBatchBuilder, DocumentsBatchReader}; use crate::index::tests::TempIndex; + use crate::{db_snap, CboRoaringBitmapCodec, StrStrU8Codec}; fn documents_with_enough_different_words_for_prefixes(prefixes: &[&str]) -> Vec { let mut documents = Vec::new();