Cargo Clippy

This commit is contained in:
Nyaaori committed 2022-10-31 09:31:17 +01:00
1 parent 2a52f666dc
commit 00996dd834
3 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ pub async fn search_events_route(
.take(limit)
.collect();
let next_batch = if results.len() < limit as usize {
let next_batch = if results.len() < limit {
None
} else {
Some((skip + limit).to_string())