mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-30 09:04:59 +08:00
Minor code style change
This commit is contained in:
parent
be302fd250
commit
9a569d73d1
@ -83,7 +83,7 @@ pub fn index_prefix_word_database(
|
|||||||
let mut writer =
|
let mut writer =
|
||||||
create_writer(chunk_compression_type, chunk_compression_level, tempfile::tempfile()?);
|
create_writer(chunk_compression_type, chunk_compression_level, tempfile::tempfile()?);
|
||||||
|
|
||||||
for proximity in 1..=max_proximity - 1 {
|
for proximity in 1..max_proximity {
|
||||||
for prefix in new_prefixes.iter() {
|
for prefix in new_prefixes.iter() {
|
||||||
let mut prefix_key = vec![];
|
let mut prefix_key = vec![];
|
||||||
prefix_key.push(proximity);
|
prefix_key.push(proximity);
|
||||||
|
Loading…
Reference in New Issue
Block a user