style: make clippy happier

This commit is contained in:
Timo Kösters 2020-10-07 12:29:19 +02:00
parent 4964e21342
commit 304c53c4f5
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4
5 changed files with 7 additions and 11 deletions

View file

@ -84,7 +84,7 @@ impl Sending {
(Box<ServerName>, send_transaction_message::v1::Response),
(Box<ServerName>, Error),
> {
let pdu_json = PduEvent::to_outgoing_federation_event(
let pdu_json = PduEvent::convert_to_outgoing_federation_event(
rooms
.get_pdu_json_from_id(&pdu_id)
.map_err(|e| (server.clone(), e))?