Make cargo fmt happy

This commit is contained in:
Clément Renault 2025-04-01 11:27:41 +02:00
parent 64477aac60
commit a0bfcf8872
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
13 changed files with 29 additions and 38 deletions

View file

@ -101,8 +101,7 @@ impl FacetsUpdateIncremental {
let key = FacetGroupKeyCodec::<BytesRefCodec>::bytes_decode(key)
.map_err(heed::Error::Encoding)?;
if facet_level_may_be_updated
&& current_field_id.is_some_and(|fid| fid != key.field_id)
if facet_level_may_be_updated && current_field_id.is_some_and(|fid| fid != key.field_id)
{
// Only add or remove a level after making all the field modifications.
self.inner.add_or_delete_level(wtxn, current_field_id.unwrap())?;