Fix PR comments

Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
Many
2021-04-26 11:30:42 +02:00
committed by many
parent 0d7d3ce802
commit 0daa0e170a
4 changed files with 12 additions and 9 deletions

View File

@ -13,7 +13,7 @@ use super::{Criterion, CriterionResult, Context, resolve_query_tree};
/// To be able to divide integers by the number of words in the query
/// we want to find a multiplier that allow us to divide by any number between 1 and 10.
/// We Choosed the LCM of all numbers between 1 and 10 as the multiplier (https://en.wikipedia.org/wiki/Least_common_multiple).
/// We chose the LCM of all numbers between 1 and 10 as the multiplier (https://en.wikipedia.org/wiki/Least_common_multiple).
const LCM_10_FIRST_NUMBERS: u32 = 2520;
pub struct Attribute<'t> {