Format let-else ❤️ 🎉

This commit is contained in:
Louis Dureuil 2023-07-03 10:20:28 +02:00
parent 661d1f90dc
commit 324d448236
No known key found for this signature in database
11 changed files with 38 additions and 37 deletions

View file

@ -223,7 +223,9 @@ impl IndexMap {
enable_mdb_writemap: bool,
map_size_growth: usize,
) {
let Some(index) = self.available.remove(uuid) else { return; };
let Some(index) = self.available.remove(uuid) else {
return;
};
self.close(*uuid, index, enable_mdb_writemap, map_size_growth);
}