resolve or_fun_call clippy lint
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
93cc98a04c
commit
cde6fdd741
7 changed files with 21 additions and 13 deletions
|
@ -215,7 +215,7 @@ pub async fn login_route(body: Ruma<login::v3::Request>) -> Result<login::v3::Re
|
|||
.globals
|
||||
.well_known_client()
|
||||
.to_owned()
|
||||
.unwrap_or("".to_owned()),
|
||||
.unwrap_or_else(|| "".to_owned()),
|
||||
));
|
||||
|
||||
info!("{} logged in", user_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue