Replace HashMap with BTreeMap
This commit is contained in:
parent
2285543d4d
commit
5448c650f0
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#![warn(missing_docs)]
|
#![warn(missing_docs)]
|
||||||
|
|
||||||
use std::collections::HashMap;
|
use std::collections::BTreeMap;
|
||||||
|
|
||||||
use js_int::UInt;
|
use js_int::UInt;
|
||||||
use ruma_events::EventType;
|
use ruma_events::EventType;
|
||||||
@ -54,7 +54,7 @@ pub struct RoomV3Pdu {
|
|||||||
/// Content hashes of the PDU.
|
/// Content hashes of the PDU.
|
||||||
pub hashes: EventHash,
|
pub hashes: EventHash,
|
||||||
/// Signatures for the PDU.
|
/// Signatures for the PDU.
|
||||||
pub signatures: HashMap<String, HashMap<String, String>>,
|
pub signatures: BTreeMap<String, BTreeMap<String, String>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Content hashes of a PDU.
|
/// Content hashes of a PDU.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user