mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-28 10:48:30 +00:00
Cargo Clippy
This commit is contained in:
parent
2a52f666dc
commit
00996dd834
3 changed files with 6 additions and 4 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue