diff --git a/crates/ruma-state-res/src/lib.rs b/crates/ruma-state-res/src/lib.rs index 1e77c42f..c161f8ee 100644 --- a/crates/ruma-state-res/src/lib.rs +++ b/crates/ruma-state-res/src/lib.rs @@ -53,15 +53,15 @@ type EventMap = HashMap, T>; /// /// The caller of `resolve` must ensure that all the events are from the same room. Although this /// function takes a `RoomId` it does not check that each event is part of the same room. -pub fn resolve<'a, E, SSI>( +pub fn resolve<'a, E, SetIter>( room_version: &RoomVersionId, - state_sets: impl IntoIterator, + state_sets: impl IntoIterator, auth_chain_sets: Vec>>, fetch_event: impl Fn(&EventId) -> Option, ) -> Result>> where E: Event + Clone, - SSI: Iterator>> + Clone, + SetIter: Iterator>> + Clone, { info!("State resolution starting");