fix unused_must_use lints

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-05 23:52:22 -05:00 committed by June
parent f3df9437c2
commit da34b7f90f

View file

@ -949,7 +949,7 @@ impl Service {
match pdu::gen_event_id_canonical_json(&res.pdu, room_version_id) { match pdu::gen_event_id_canonical_json(&res.pdu, room_version_id) {
Ok(t) => t, Ok(t) => t,
Err(_) => { Err(_) => {
back_off((*next_id).to_owned()); back_off((*next_id).to_owned()).await;
continue; continue;
}, },
}; };
@ -979,7 +979,7 @@ impl Service {
}, },
Err(e) => { Err(e) => {
warn!("Failed to fetch event {} | {e}", next_id); warn!("Failed to fetch event {} | {e}", next_id);
back_off((*next_id).to_owned()); back_off((*next_id).to_owned()).await;
}, },
} }
} }
@ -1035,7 +1035,7 @@ impl Service {
}, },
Err(e) => { Err(e) => {
warn!("Authentication of event {} failed: {:?}", next_id, e); warn!("Authentication of event {} failed: {:?}", next_id, e);
back_off((**next_id).to_owned()); back_off((**next_id).to_owned()).await;
}, },
} }
} }