Fix clippy warnings
This commit is contained in:
		
							parent
							
								
									27d25914e1
								
							
						
					
					
						commit
						b76af682a6
					
				
					 1 changed files with 2 additions and 4 deletions
				
			
		|  | @ -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() | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue