refactor: Replace remaining std Mutexes

This commit is contained in:
Jade Ellis
2025-07-19 22:05:43 +01:00
parent a1d616e3e3
commit 374fb2745c
11 changed files with 83 additions and 117 deletions
+1 -1
View File
@@ -232,7 +232,7 @@ fn get_cache(ctx: &Context, desc: &Descriptor) -> Option<Cache> {
cache_opts.set_num_shard_bits(shard_bits);
cache_opts.set_capacity(size);
let mut caches = ctx.col_cache.lock().expect("locked");
let mut caches = ctx.col_cache.lock();
match desc.cache_disp {
| CacheDisp::Unique if desc.cache_size == 0 => None,
| CacheDisp::Unique => {