Fix result types

This commit is contained in:
Clément Renault 2024-11-27 13:46:41 +01:00
parent 70802eb7c7
commit 08d6413365
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

@ -318,7 +318,7 @@ impl<'doc> DelAddFacetValue<'doc> {
docid: DocumentId,
sender: &FieldIdDocidFacetSender,
doc_alloc: &Bump,
) -> std::result::Result<(), crossbeam_channel::SendError<()>> {
) -> crate::Result<()> {
let mut buffer = bumpalo::collections::Vec::new_in(doc_alloc);
for ((fid, value), deladd) in self.strings {
if let Ok(s) = std::str::from_utf8(&value) {