We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15ce540 commit 696df71Copy full SHA for 696df71
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