refactor: Replace remaining std RwLocks

This commit is contained in:
Jade Ellis committed 2025-07-20 16:33:36 +01:00
1 parent 374fb2745c
commit 6d29098d1a
11 files changed
+32 -90

No files matched your search

+1 -2
View File
@@ -26,8 +26,7 @@ pub(super) async fn incoming_federation(&self) -> Result {
.rooms
.event_handler
.federation_handletime
.read()
.expect("locked");
.read();
let mut msg = format!("Handling {} incoming pdus:\n", map.len());
for (r, (e, i)) in map.iter() {