mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
fix clippy error and remove clippy job from ci
Remove clippy job Fix clippy error type_complexity Restore ambiguous change
This commit is contained in:
parent
f3c0b05ae8
commit
a1d7ed1258
3 changed files with 8 additions and 21 deletions
|
@ -196,7 +196,10 @@ impl<R: std::io::Read + std::io::Seek> FacetsUpdateBulkInner<R> {
|
|||
&self,
|
||||
rtxn: &'t RoTxn,
|
||||
field_id: u16,
|
||||
handle_group: &mut dyn FnMut(&[RoaringBitmap], &'t [u8]) -> Result<()>,
|
||||
#[allow(clippy::type_complexity)] handle_group: &mut dyn FnMut(
|
||||
&[RoaringBitmap],
|
||||
&'t [u8],
|
||||
) -> Result<()>,
|
||||
) -> Result<()> {
|
||||
// we read the elements one by one and
|
||||
// 1. keep track of the left bound
|
||||
|
@ -250,7 +253,10 @@ impl<R: std::io::Read + std::io::Seek> FacetsUpdateBulkInner<R> {
|
|||
rtxn: &'t RoTxn,
|
||||
field_id: u16,
|
||||
level: u8,
|
||||
handle_group: &mut dyn FnMut(&[RoaringBitmap], &'t [u8]) -> Result<()>,
|
||||
#[allow(clippy::type_complexity)] handle_group: &mut dyn FnMut(
|
||||
&[RoaringBitmap],
|
||||
&'t [u8],
|
||||
) -> Result<()>,
|
||||
) -> Result<Vec<grenad::Reader<File>>> {
|
||||
if level == 0 {
|
||||
self.read_level_0(rtxn, field_id, handle_group)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue