From 792d4aa6ce691773c995f989c4d6a7a3042b1972 Mon Sep 17 00:00:00 2001 From: strawberry Date: Sun, 30 Jun 2024 23:26:59 -0400 Subject: [PATCH] fix nightly clippy lint Signed-off-by: strawberry --- src/api/client/search.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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