diff --git a/src/transaction/lock.rs b/src/transaction/lock.rs index 0793c4f1..afb1d6c4 100644 --- a/src/transaction/lock.rs +++ b/src/transaction/lock.rs @@ -98,7 +98,7 @@ pub async fn resolve_locks( .await?; clean_regions .entry(lock.lock_version) - .or_insert_with(HashSet::new) + .or_default() .insert(cleaned_region); } Ok(live_locks)