mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 14:54:27 +01:00
Execute cargo fmt
This commit is contained in:
parent
d53a80b408
commit
d55f0e2e53
@ -197,10 +197,7 @@ impl<R: std::io::Read + std::io::Seek> FacetsUpdateBulkInner<R> {
|
|||||||
&self,
|
&self,
|
||||||
rtxn: &'t RoTxn,
|
rtxn: &'t RoTxn,
|
||||||
field_id: u16,
|
field_id: u16,
|
||||||
handle_group: &mut dyn FnMut(
|
handle_group: &mut dyn FnMut(&[RoaringBitmap], &'t [u8]) -> Result<()>,
|
||||||
&[RoaringBitmap],
|
|
||||||
&'t [u8],
|
|
||||||
) -> Result<()>,
|
|
||||||
) -> Result<()> {
|
) -> Result<()> {
|
||||||
// we read the elements one by one and
|
// we read the elements one by one and
|
||||||
// 1. keep track of the left bound
|
// 1. keep track of the left bound
|
||||||
@ -255,10 +252,7 @@ impl<R: std::io::Read + std::io::Seek> FacetsUpdateBulkInner<R> {
|
|||||||
rtxn: &'t RoTxn,
|
rtxn: &'t RoTxn,
|
||||||
field_id: u16,
|
field_id: u16,
|
||||||
level: u8,
|
level: u8,
|
||||||
handle_group: &mut dyn FnMut(
|
handle_group: &mut dyn FnMut(&[RoaringBitmap], &'t [u8]) -> Result<()>,
|
||||||
&[RoaringBitmap],
|
|
||||||
&'t [u8],
|
|
||||||
) -> Result<()>,
|
|
||||||
) -> Result<Vec<grenad::Reader<File>>> {
|
) -> Result<Vec<grenad::Reader<File>>> {
|
||||||
if level == 0 {
|
if level == 0 {
|
||||||
self.read_level_0(rtxn, field_id, handle_group)?;
|
self.read_level_0(rtxn, field_id, handle_group)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user