From 6542dd533788ff00d3bb598e470d20e5603330bc Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Sun, 1 Mar 2020 09:41:53 +0900 Subject: [PATCH] Removing parenthesis. --- src/query/fuzzy_query.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/fuzzy_query.rs b/src/query/fuzzy_query.rs index 4818828c9..543a0980f 100644 --- a/src/query/fuzzy_query.rs +++ b/src/query/fuzzy_query.rs @@ -9,7 +9,7 @@ use std::ops::Range; /// A range of Levenshtein distances that we will build DFAs for our terms /// The computation is exponential, so best keep it to low single digits -const VALID_LEVENSHTEIN_DISTANCE_RANGE: Range = (0..3); +const VALID_LEVENSHTEIN_DISTANCE_RANGE: Range = 0..3; static LEV_BUILDER: Lazy> = Lazy::new(|| { let mut lev_builder_cache = HashMap::new();