Fix the clippy warnings

This commit is contained in:
Clément Renault 2023-04-25 16:40:32 +02:00
parent e0730b55b3
commit cfd1b2cc97
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
11 changed files with 64 additions and 68 deletions

View file

@ -1613,7 +1613,6 @@ mod tests {
// Create 200 documents with a long text
let content = {
let documents_iter = (0..200i32)
.into_iter()
.map(|i| serde_json::json!({ "id": i, "script": script }))
.filter_map(|json| match json {
serde_json::Value::Object(object) => Some(object),