mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-02-22 10:35:44 +08:00
Fix result types
This commit is contained in:
parent
70802eb7c7
commit
08d6413365
@ -318,7 +318,7 @@ impl<'doc> DelAddFacetValue<'doc> {
|
|||||||
docid: DocumentId,
|
docid: DocumentId,
|
||||||
sender: &FieldIdDocidFacetSender,
|
sender: &FieldIdDocidFacetSender,
|
||||||
doc_alloc: &Bump,
|
doc_alloc: &Bump,
|
||||||
) -> std::result::Result<(), crossbeam_channel::SendError<()>> {
|
) -> crate::Result<()> {
|
||||||
let mut buffer = bumpalo::collections::Vec::new_in(doc_alloc);
|
let mut buffer = bumpalo::collections::Vec::new_in(doc_alloc);
|
||||||
for ((fid, value), deladd) in self.strings {
|
for ((fid, value), deladd) in self.strings {
|
||||||
if let Ok(s) = std::str::from_utf8(&value) {
|
if let Ok(s) = std::str::from_utf8(&value) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user