remove various unnecessary qualifications

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry authored and June committed 2024-03-08 12:51:21 -05:00
1 parent aedb5966fe
commit 7c1624931d
17 files changed
+39 -42

No files matched your search

+1 -3
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 ({}): {}",