mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-04 11:46:30 +00:00
fmt after my suggestion
This commit is contained in:
@ -435,7 +435,9 @@ impl<'a> Filter<'a> {
|
|||||||
|
|
||||||
if *last == u8::MAX {
|
if *last == u8::MAX {
|
||||||
// u8::MAX is a forbidden UTF-8 byte, we're guaranteed it cannot be sent through a filter to meilisearch, but just in case, we're going to return something
|
// u8::MAX is a forbidden UTF-8 byte, we're guaranteed it cannot be sent through a filter to meilisearch, but just in case, we're going to return something
|
||||||
tracing::warn!("Found non utf-8 character in filter. That shouldn't be possible");
|
tracing::warn!(
|
||||||
|
"Found non utf-8 character in filter. That shouldn't be possible"
|
||||||
|
);
|
||||||
return Ok(RoaringBitmap::new());
|
return Ok(RoaringBitmap::new());
|
||||||
}
|
}
|
||||||
*last += 1;
|
*last += 1;
|
||||||
|
Reference in New Issue
Block a user