async_client: fix clippy warning

master
Devin R 2020-04-29 08:10:53 -04:00
parent ef560fd545
commit 955f6248cf
1 changed files with 0 additions and 1 deletions

View File

@ -674,7 +674,6 @@ impl AsyncClient {
for mut event in &mut room.timeline.events { for mut event in &mut room.timeline.events {
let decrypted_event = { let decrypted_event = {
let mut client = self.base_client.write().await; let mut client = self.base_client.write().await;
let mut timeline_update = false;
let (decrypt_ev, timeline_update) = client let (decrypt_ev, timeline_update) = client
.receive_joined_timeline_event(room_id, &mut event) .receive_joined_timeline_event(room_id, &mut event)
.await; .await;