Skip to content

Commit

Permalink
fix: clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
josecelano committed Aug 2, 2023
1 parent 414c6c1 commit f7f76ff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/services/torrent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,6 @@ impl Index {
let page_size = request.page_size.unwrap_or(default_torrent_page_size);

// Guard that page size does not exceed the maximum
let max_torrent_page_size = max_torrent_page_size;
let page_size = if page_size > max_torrent_page_size {
max_torrent_page_size
} else {
Expand Down

0 comments on commit f7f76ff

Please sign in to comment.