From 56c7c5d5f013f5897d8467fe8d25ac716ced213c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Wed, 20 Nov 2024 11:36:17 +0100 Subject: [PATCH] Fix comments --- crates/milli/src/update/new/extract/faceted/extract_facets.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/milli/src/update/new/extract/faceted/extract_facets.rs b/crates/milli/src/update/new/extract/faceted/extract_facets.rs index 6f034d787..9ad37d52c 100644 --- a/crates/milli/src/update/new/extract/faceted/extract_facets.rs +++ b/crates/milli/src/update/new/extract/faceted/extract_facets.rs @@ -183,7 +183,7 @@ impl FacetedDocidsExtractor { match value { // Number - // key: fid - level - orderedf64 - orignalf64 + // key: fid - level - orderedf64 - originalf64 Value::Number(number) => { let mut ordered = [0u8; 16]; if number @@ -221,7 +221,7 @@ impl FacetedDocidsExtractor { buffer.extend_from_slice(truncated.as_bytes()); cache_fn(cached_sorter, &buffer, docid) } - /// Bool is handled as a string + // Bool is handled as a string Value::Bool(b) => { let b = if *b { "true" } else { "false" }; let mut string = BVec::new_in(doc_alloc);