Reduce the visibility of ItemsIter and add docs to items_iter

This commit is contained in:
Paul Woolcock
2018-08-22 16:09:16 -04:00
parent 49eee2313f
commit 5eca9748a3
2 changed files with 31 additions and 1 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ use serde::Deserialize;
/// # Ok(())
/// # }
/// ```
pub struct ItemsIter<'a, T: Clone + for<'de> Deserialize<'de>> {
pub(crate) struct ItemsIter<'a, T: Clone + for<'de> Deserialize<'de>> {
page: Page<'a, T>,
buffer: Vec<T>,
cur_idx: usize,