Skip to content

Commit 6d29178

Browse files
Philippe-Choletjswrenn
authored andcommitted
Document the field a_cur of Product
1 parent bf2b012 commit 6d29178

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/adaptors/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,9 @@ where
308308
I: Iterator,
309309
{
310310
a: I,
311+
/// `a_cur` is `None` while no item have been taken out of `a` (at definition).
312+
/// Then `a_cur` will be `Some(Some(item))` until `a` is exhausted,
313+
/// in which case `a_cur` will be `Some(None)`.
311314
a_cur: Option<Option<I::Item>>,
312315
b: J,
313316
b_orig: J,

0 commit comments

Comments
 (0)