From 206a3e00e5ca68075581c64fe8d4d50aaad8b695 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Lecrenier?= Date: Wed, 12 Oct 2022 12:35:44 +0200 Subject: [PATCH] cargo fmt --- milli/src/heed_codec/facet/mod.rs | 3 +-- milli/src/snapshot_tests.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/milli/src/heed_codec/facet/mod.rs b/milli/src/heed_codec/facet/mod.rs index a727b148f..4609bfe7f 100644 --- a/milli/src/heed_codec/facet/mod.rs +++ b/milli/src/heed_codec/facet/mod.rs @@ -11,9 +11,8 @@ use roaring::RoaringBitmap; pub use self::field_doc_id_facet_codec::FieldDocIdFacetCodec; pub use self::ordered_f64_codec::OrderedF64Codec; -use crate::{CboRoaringBitmapCodec, BEU16}; - use super::StrRefCodec; +use crate::{CboRoaringBitmapCodec, BEU16}; pub type FieldDocIdFacetF64Codec = FieldDocIdFacetCodec; pub type FieldDocIdFacetStringCodec = FieldDocIdFacetCodec; diff --git a/milli/src/snapshot_tests.rs b/milli/src/snapshot_tests.rs index 389d7b7a2..bcb9805ea 100644 --- a/milli/src/snapshot_tests.rs +++ b/milli/src/snapshot_tests.rs @@ -495,7 +495,7 @@ macro_rules! full_snap_of_db { ($index:ident, field_id_docid_facet_strings) => {{ $crate::snapshot_tests::snap_field_id_docid_facet_strings(&$index) }}; - ($index:ident, facet_id_exists_docids) => {{ + ($index:ident, facet_id_exists_docids) => {{ $crate::snapshot_tests::snap_facet_id_exists_docids(&$index) }}; ($index:ident, documents_ids) => {{