Skip to content
Snippets Groups Projects
Unverified Commit b76af682 authored by Jonas Platte's avatar Jonas Platte
Browse files

Fix clippy warnings

parent 27d25914
No related branches found
No related tags found
No related merge requests found
......@@ -52,8 +52,7 @@ pub async fn set_displayname_route(
"Tried to send displayname update for user not in the room.",
)
})?
.content
.clone(),
.content,
)
.expect("from_value::<Raw<..>> can never fail")
.deserialize()
......@@ -153,8 +152,7 @@ pub async fn set_avatar_url_route(
"Tried to send displayname update for user not in the room.",
)
})?
.content
.clone(),
.content,
)
.expect("from_value::<Raw<..>> can never fail")
.deserialize()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment