Replace HashMap with BTreeMap

This commit is contained in:
Jonas Platte 2020-04-19 16:20:27 +02:00
parent 2285543d4d
commit 5448c650f0
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -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<String, HashMap<String, String>>,
pub signatures: BTreeMap<String, BTreeMap<String, String>>,
}
/// Content hashes of a PDU.