Fix clippy issues

This commit is contained in:
Louis Dureuil 2023-11-06 11:19:31 +01:00
parent 1bccf2079e
commit cbaa54cafd
No known key found for this signature in database
11 changed files with 25 additions and 25 deletions

View file

@ -1376,7 +1376,7 @@ impl Index {
rtxn: &RoTxn,
key: &(Script, Language),
) -> heed::Result<Option<RoaringBitmap>> {
Ok(self.script_language_docids.get(rtxn, key)?)
self.script_language_docids.get(rtxn, key)
}
pub fn script_language(&self, rtxn: &RoTxn) -> heed::Result<HashMap<Script, Vec<Language>>> {