update scripts

This commit is contained in:
2025-08-27 15:32:15 +08:00
parent ba6af2402e
commit 82f454d7ca
5 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ impl Logger {
self.abort_on_error.load(Relaxed)
}
fn lock(&self) -> MutexGuard<()> {
fn lock(&'_ self) -> MutexGuard<'_, ()> {
self.mtx_shard[get_tid() as usize & (self.mtx_shard.len() - 1)]
.lock()
.unwrap()