client-api: Fix clippy lint

This commit is contained in:
Jonas Platte 2021-06-17 16:39:14 +02:00
parent ed7f673d0e
commit 282ffd9c6d
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -59,7 +59,7 @@ impl<'a> Request<'a> {
event_type: &'a str, event_type: &'a str,
body: Raw<AnyMessageEventContent>, body: Raw<AnyMessageEventContent>,
) -> Self { ) -> Self {
Self { room_id, txn_id, event_type, body } Self { room_id, event_type, txn_id, body }
} }
} }