cargo fmt

This commit is contained in:
Loïc Lecrenier 2022-08-17 12:21:00 +02:00
parent 4f9edf13d7
commit 78d9f0622d

View File

@ -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<crate::Object> {
let mut documents = Vec::new();