caio.co/de/cantine

clippy: Pass new lints

Id
0f7ddf8f5717150d43a1ea39215c06fb3c5d3361
Author
Caio
Commit time
2021-09-11T09:15:39+02:00

Modified tique/src/dismax.rs

@@ -120,8 +120,8
let current = scorers.iter().map(|s| s.doc()).min().unwrap_or(TERMINATED);
Self {
scorers,
- tiebreaker,
current,
+ tiebreaker,
}
}
}

Modified tique/src/queryparser/parser.rs

@@ -112,7 +112,7
indices.push(idx);
}
}
- indices.sort();
+ indices.sort_unstable();
self.default_indices = indices;
}