From d7bcfb2d197e2b225ae8716308323acc1d3ef176 Mon Sep 17 00:00:00 2001 From: ManyTheFish Date: Tue, 26 Nov 2024 14:04:16 +0100 Subject: [PATCH] fix clippy --- crates/milli/src/update/facet/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/milli/src/update/facet/mod.rs b/crates/milli/src/update/facet/mod.rs index f4835e6a8..3eaf2f221 100644 --- a/crates/milli/src/update/facet/mod.rs +++ b/crates/milli/src/update/facet/mod.rs @@ -178,7 +178,7 @@ impl<'i> FacetsUpdate<'i> { // We clear the facet search databases. self.index.facet_id_string_fst.clear(wtxn)?; self.index.facet_id_normalized_string_strings.clear(wtxn)?; - return Ok(()); + Ok(()) } Some(data) => index_facet_search(wtxn, data, self.index), None => Ok(()),