From 5448c650f0a583382152d0f43f2dcf720d495390 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Sun, 19 Apr 2020 16:20:27 +0200 Subject: [PATCH] Replace HashMap with BTreeMap --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index be7c5164..ab8329b8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,7 +2,7 @@ #![warn(missing_docs)] -use std::collections::HashMap; +use std::collections::BTreeMap; use js_int::UInt; use ruma_events::EventType; @@ -54,7 +54,7 @@ pub struct RoomV3Pdu { /// Content hashes of the PDU. pub hashes: EventHash, /// Signatures for the PDU. - pub signatures: HashMap>, + pub signatures: BTreeMap>, } /// Content hashes of a PDU.