diff --git a/src/api/client/search.rs b/src/api/client/search.rs index e88558fd..d2a1668f 100644 --- a/src/api/client/search.rs +++ b/src/api/client/search.rs @@ -118,7 +118,7 @@ pub(crate) async fn search_events_route(body: Ruma) }; 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 { if let Some(s) = searches