From 4546be5c8e063154716e287b7ed57e2b6f22e465 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 10 Nov 2024 20:28:46 +0000 Subject: [PATCH] state-res: fix changed Signatures type in bench code Signed-off-by: Jason Volk --- crates/ruma-state-res/benches/state_res_bench.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ruma-state-res/benches/state_res_bench.rs b/crates/ruma-state-res/benches/state_res_bench.rs index d335383e..0b1a2aff 100644 --- a/crates/ruma-state-res/benches/state_res_bench.rs +++ b/crates/ruma-state-res/benches/state_res_bench.rs @@ -22,7 +22,7 @@ use js_int::{int, uint}; use maplit::{btreemap, hashmap, hashset}; use ruma_common::{ room_id, user_id, EventId, MilliSecondsSinceUnixEpoch, OwnedEventId, RoomId, RoomVersionId, - UserId, + Signatures, UserId, }; use ruma_events::{ pdu::{EventHash, Pdu, RoomV3Pdu}, @@ -384,7 +384,7 @@ where prev_events, depth: uint!(0), hashes: EventHash::new(String::new()), - signatures: btreemap! {}, + signatures: Signatures::new(), }), }) }