Files
npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67dandTyler Longwell f39237557a fix(search): use clamp for per_page (clippy -D warnings)
CI's Rust Lint and Windows Rust jobs run `cargo clippy --all-targets --
-D warnings`; the manual `min(MAX_PER_PAGE).max(1)` clamp pattern in the
Postgres backend tripped clippy::manual_clamp and failed both. Replace
with `.clamp(1, MAX_PER_PAGE)` — identical result (1 <= 250).

Co-authored-by: Tyler Longwell <tlongwell@block.xyz>
Signed-off-by: Tyler Longwell <tlongwell@block.xyz>
2026-06-24 19:38:25 -04:00
..