Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
Signed-off-by: Ping Yu <[email protected]>
  • Loading branch information
pingyu committed Oct 31, 2023
1 parent 83ae139 commit fdec181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transaction/lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fdec181

Please sign in to comment.