mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-10-10 05:36:35 +00:00
Make Clippy happy
This commit is contained in:
committed by
Kerollmops
parent
69f73b1d74
commit
d241157084
@@ -221,9 +221,7 @@ impl IndexMap {
|
||||
enable_mdb_writemap: bool,
|
||||
map_size_growth: usize,
|
||||
) -> Option<EnvClosingEvent> {
|
||||
let Some(index) = self.available.remove(uuid) else {
|
||||
return None;
|
||||
};
|
||||
let index = self.available.remove(uuid)?;
|
||||
Some(self.close(*uuid, index, enable_mdb_writemap, map_size_growth))
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user