Fix clippy warnings remove unused imports

This commit is contained in:
Devin Ragotzy 2021-01-05 09:21:41 -05:00
parent 63af3d3da0
commit cdeb1236a2
7 changed files with 39 additions and 34 deletions

View file

@ -675,7 +675,6 @@ async fn join_room_by_id_helper(
.iter()
.filter(|id| resolved_events.values().any(|rid| rid == *id))
{
// this is a `state_res::StateEvent` that holds a `ruma::Pdu`
let pdu = event_map
.get(ev_id)
.expect("Found event_id in sorted events that is not in resolved state");