fix unused_must_use lints
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
f3df9437c2
commit
da34b7f90f
1 changed files with 3 additions and 3 deletions
|
@ -949,7 +949,7 @@ impl Service {
|
|||
match pdu::gen_event_id_canonical_json(&res.pdu, room_version_id) {
|
||||
Ok(t) => t,
|
||||
Err(_) => {
|
||||
back_off((*next_id).to_owned());
|
||||
back_off((*next_id).to_owned()).await;
|
||||
continue;
|
||||
},
|
||||
};
|
||||
|
@ -979,7 +979,7 @@ impl Service {
|
|||
},
|
||||
Err(e) => {
|
||||
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) => {
|
||||
warn!("Authentication of event {} failed: {:?}", next_id, e);
|
||||
back_off((**next_id).to_owned());
|
||||
back_off((**next_id).to_owned()).await;
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue