clippy fixes

This commit is contained in:
Louis Dureuil
2024-10-30 10:06:38 +01:00
parent 1075dd34bb
commit 4ebedf4dc8
4 changed files with 6 additions and 8 deletions

View File

@ -49,7 +49,7 @@ impl<'de, 'p, 'indexer: 'de, Mapper: MutFieldIdMapper> Visitor<'de>
visitor: MutFieldIdMapVisitor(self.fields_ids_map),
})?
{
let Some(fid) = fid else {
let Some(_fid) = fid else {
return Ok(Err(crate::UserError::AttributeLimitReached));
};
self.fields_ids_map = fields_ids_map;