style: make clippy happier
This commit is contained in:
parent
4964e21342
commit
304c53c4f5
5 changed files with 7 additions and 11 deletions
|
@ -477,7 +477,7 @@ pub async fn sync_events_route(
|
|||
})
|
||||
.and_then(|pdu| {
|
||||
serde_json::from_value::<Raw<ruma::events::room::member::MemberEventContent>>(
|
||||
pdu.content.clone(),
|
||||
pdu.content,
|
||||
)
|
||||
.expect("Raw::from_value always works")
|
||||
.deserialize()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue