Proxy router
Some checks failed
CI / Typos (push) Successful in 23s
CI / Clippy (push) Successful in 1m15s
CI / Build and test (all features) (push) Failing after 5m11s
CI / Build and test (push) Has been cancelled

This commit is contained in:
2026-03-23 22:15:00 -07:00
parent e83c522e78
commit 90c5584513
6 changed files with 123 additions and 7 deletions

View File

@@ -21,11 +21,7 @@ pub trait DataSource {
fn iter(&self) -> impl Iterator<Item = &crate::value::Item>;
/// Iterate over a page of items, sorted by key
fn iter_page(
&self,
offset: usize,
limit: usize,
) -> impl Iterator<Item = &crate::value::Item> {
fn iter_page(&self, offset: usize, limit: usize) -> impl Iterator<Item = &crate::value::Item> {
self.iter().skip(offset).take(limit)
}