how did clippy not catch this

This commit is contained in:
Charles Hall 2024-05-15 15:51:31 -07:00
parent 4aab4c9b2e
commit 46731d1f85
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF

View file

@ -305,7 +305,7 @@ pub(crate) async fn get_public_rooms_filtered_helper(
};
Ok(chunk)
})
.filter_map(|r: Result<_>| r.ok()) // Filter out buggy rooms
.filter_map(Result::<_>::ok) // Filter out buggy rooms
.filter(|chunk| {
if let Some(query) = filter
.generic_search_term