Fixed more compile time errors

This commit is contained in:
Timo Kösters
2022-09-07 13:25:51 +02:00
committed by Nyaaori
parent 785ddfc4aa
commit bd8b616ca0
103 changed files with 1617 additions and 2749 deletions

View File

@@ -1,9 +1,11 @@
use std::{sync::Arc, collections::HashMap};
use std::{sync::Arc, collections::{HashMap, BTreeMap}};
use async_trait::async_trait;
use ruma::{EventId, events::StateEventType, RoomId};
use crate::PduEvent;
use crate::{Result, PduEvent};
#[async_trait]
pub trait Data {
/// Builds a StateMap by iterating over all keys that start
/// with state_hash, this gives the full state for the given state_hash.