We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2e1d29 commit 19e06abCopy full SHA for 19e06ab
src/sauce/home.rs
@@ -440,8 +440,8 @@ pub fn home() -> Html {
440
current_page.min((filtered_data.len() - 1) / limit)
441
};
442
443
- let start_index = current_page * limit;
444
- let end_index = (start_index + limit).min(filtered_data.len());
+ let start = current_page * limit;
+ let end = (start + limit).min(filtered_data.len());
445
446
let paginated_data = if filtered_data.is_empty() {
447
Vec::new()
0 commit comments