Execute cargo fmt

This commit is contained in:
unvalley 2022-10-28 23:42:23 +09:00
parent d53a80b408
commit d55f0e2e53

View File

@ -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)?;