Cargo fmt + fix compiler warnings/error

This commit is contained in:
Loïc Lecrenier 2022-08-04 10:50:38 +02:00
parent 6066256689
commit 8ac24d3114
4 changed files with 22 additions and 26 deletions

View file

@ -1,14 +1,16 @@
use crate::{
heed_codec::facet::{
FacetLevelValueU32Codec, FacetStringLevelZeroCodec, FacetStringLevelZeroValueCodec,
FacetStringZeroBoundsValueCodec,
},
make_db_snap_from_iter, CboRoaringBitmapCodec, ExternalDocumentsIds, Index,
};
use heed::{types::ByteSlice, BytesDecode};
use roaring::RoaringBitmap;
use std::borrow::Cow;
use std::fmt::Write;
use std::path::Path;
use std::{borrow::Cow, fmt::Write};
use heed::types::ByteSlice;
use heed::BytesDecode;
use roaring::RoaringBitmap;
use crate::heed_codec::facet::{
FacetLevelValueU32Codec, FacetStringLevelZeroCodec, FacetStringLevelZeroValueCodec,
FacetStringZeroBoundsValueCodec,
};
use crate::{make_db_snap_from_iter, CboRoaringBitmapCodec, ExternalDocumentsIds, Index};
#[track_caller]
pub fn default_db_snapshot_settings_for_test(name: Option<&str>) -> insta::Settings {