Skip to content
Snippets Groups Projects
Commit 792d4aa6 authored by 🥺's avatar 🥺 :transgender_flag:
Browse files

fix nightly clippy lint

parent 6c461025
No related branches found
No related tags found
No related merge requests found
...@@ -118,7 +118,7 @@ pub(crate) async fn search_events_route(body: Ruma<search_events::v3::Request>) ...@@ -118,7 +118,7 @@ pub(crate) async fn search_events_route(body: Ruma<search_events::v3::Request>)
}; };
let mut results = Vec::new(); let mut results = Vec::new();
let next_batch: usize = skip.saturating_add(limit); let next_batch = skip.saturating_add(limit);
for _ in 0..next_batch { for _ in 0..next_batch {
if let Some(s) = searches if let Some(s) = searches
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment