fixes from review

This commit is contained in:
mpostma 2021-03-08 13:51:33 +01:00
parent 944a5bb36e
commit e9b90d5380
No known key found for this signature in database
GPG Key ID: CBC8A7C1D7A28C3A
3 changed files with 1 additions and 3 deletions

View File

@ -109,7 +109,7 @@ impl Data {
let criteria = index let criteria = index
.criteria(&txn)? .criteria(&txn)?
.into_iter() .into_iter()
.map(|v| format!("{}", v)) .map(|v| v.to_string())
.collect(); .collect();
Ok(Settings { Ok(Settings {

View File

@ -62,7 +62,6 @@ impl SearchQuery {
documents_ids, documents_ids,
matching_words, matching_words,
candidates, candidates,
..
} = search.execute()?; } = search.execute()?;
let mut documents = Vec::new(); let mut documents = Vec::new();

View File

@ -8,7 +8,6 @@ async fn get_settings_unexisting_index() {
assert_eq!(code, 400) assert_eq!(code, 400)
} }
// test broken, should be fixed with milli#101
#[actix_rt::test] #[actix_rt::test]
async fn get_settings() { async fn get_settings() {
let server = Server::new().await; let server = Server::new().await;