fix infos crate compilation issue

This commit is contained in:
ad hoc 2022-04-04 20:38:45 +02:00
parent c8d3a09af8
commit 9963f11172
No known key found for this signature in database
GPG Key ID: 4F00A782990CC643
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
use std::collections::{BTreeMap, HashSet}; use std::collections::BTreeMap;
use std::fs::File; use std::fs::File;
use std::io::{stdin, BufRead, BufReader, Cursor, Read, Write}; use std::io::{stdin, BufRead, BufReader, Cursor, Read, Write};
use std::path::PathBuf; use std::path::PathBuf;

View File

@ -387,6 +387,7 @@ fn biggest_value_sizes(index: &Index, rtxn: &heed::RoTxn, limit: usize) -> anyho
field_id_docid_facet_f64s: _, field_id_docid_facet_f64s: _,
field_id_docid_facet_strings: _, field_id_docid_facet_strings: _,
documents, documents,
..
} = index; } = index;
let main_name = "main"; let main_name = "main";
@ -968,6 +969,7 @@ fn size_of_databases(index: &Index, rtxn: &heed::RoTxn, names: Vec<String>) -> a
field_id_docid_facet_f64s, field_id_docid_facet_f64s,
field_id_docid_facet_strings, field_id_docid_facet_strings,
documents, documents,
..
} = index; } = index;
let names = if names.is_empty() { let names = if names.is_empty() {