0 errors left!

This commit is contained in:
Timo Kösters
2022-10-08 13:02:52 +02:00
committed by Nyaaori
parent f47a5cd5d5
commit d5b4754cf4
59 changed files with 656 additions and 563 deletions

View File

@@ -12,8 +12,8 @@ pub trait Data: Send + Sync {
fn resolve_local_alias(&self, alias: &RoomAliasId) -> Result<Option<Box<RoomId>>>;
/// Returns all local aliases that point to the given room
fn local_aliases_for_room(
&self,
fn local_aliases_for_room<'a>(
&'a self,
room_id: &RoomId,
) -> Box<dyn Iterator<Item = Result<Box<RoomAliasId>>>>;
) -> Box<dyn Iterator<Item = Result<Box<RoomAliasId>>> + 'a>;
}