remove various unnecessary qualifications

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-08 09:25:47 -05:00 committed by June
parent aedb5966fe
commit 7c1624931d
17 changed files with 39 additions and 42 deletions

View file

@ -609,9 +609,7 @@ impl Service {
Err(_) => RoomMessageEventContent::text_plain("Failed to get appservice."),
},
AppserviceCommand::List => {
if let Ok(appservices) =
services().appservice.iter_ids().map(std::iter::Iterator::collect::<Vec<_>>)
{
if let Ok(appservices) = services().appservice.iter_ids().map(Iterator::collect::<Vec<_>>) {
let count = appservices.len();
let output = format!(
"Appservices ({}): {}",