Remove more warnings

This commit is contained in:
Loïc Lecrenier 2023-03-23 09:41:18 +01:00
parent 7169d85115
commit d18ebe4f3a
4 changed files with 19 additions and 19 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),