Fix clippy warnings remove unused imports

This commit is contained in:
Devin Ragotzy authored and Timo Kösters committed 2021-01-14 14:30:24 +01:00
1 parent 0ee239c9d7
commit 7c4d74bf9b
7 files changed
+39 -34

No files matched your search

-1
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");