diff --git a/milli/src/update/words_level_positions.rs b/milli/src/update/words_level_positions.rs index eb8d3bb3c..70bc89860 100644 --- a/milli/src/update/words_level_positions.rs +++ b/milli/src/update/words_level_positions.rs @@ -121,7 +121,7 @@ fn compute_positions_levels( let level_0_range = { let left = (word, TreeLevel::min_value(), u32::min_value(), u32::min_value()); - let right = (word, TreeLevel::max_value(), u32::max_value(), u32::max_value()); + let right = (word, TreeLevel::min_value(), u32::max_value(), u32::max_value()); left..=right };