We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e7f1c4f + 696df71 commit 9ae413cCopy full SHA for 9ae413c
src/libcore/iter/iterator.rs
@@ -629,8 +629,9 @@ pub trait Iterator {
629
///
630
/// Note that the underlying iterator is still advanced when [`peek`] is
631
/// called for the first time: In order to retrieve the next element,
632
- /// [`next`] is called on the underlying iterator, hence any side effects of
633
- /// the [`next`] method will occur.
+ /// [`next`] is called on the underlying iterator, hence any side effects (i.e.
+ /// anything other than fetching the next value) of the [`next`] method
634
+ /// will occur.
635
636
/// [`peek`]: struct.Peekable.html#method.peek
637
/// [`next`]: ../../std/iter/trait.Iterator.html#tymethod.next
0 commit comments