Fix a bunch of clippy lints
This commit is contained in:
parent
364820aae4
commit
a6bb9bbe68
8 changed files with 77 additions and 85 deletions
|
@ -233,8 +233,7 @@ pub async fn get_public_rooms_filtered_helper(
|
|||
.map_err(|_| {
|
||||
Error::bad_database("Invalid room name event in database.")
|
||||
})?
|
||||
.name
|
||||
.map(|n| n.to_owned().into()))
|
||||
.name)
|
||||
})?,
|
||||
num_joined_members: db
|
||||
.rooms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue