Skip to content

Commit 833e0b3

Browse files
authored
Rollup merge of rust-lang#56242 - GuillaumeGomez:iterator-missing-link, r=Centril
Add missing link in docs r? @steveklabnik
2 parents 1eb8786 + 1a8f908 commit 833e0b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/iter/iterator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ pub trait Iterator {
162162
/// That said, the implementation should provide a correct estimation,
163163
/// because otherwise it would be a violation of the trait's protocol.
164164
///
165-
/// The default implementation returns `(0, None)` which is correct for any
165+
/// The default implementation returns `(0, `[`None`]`)` which is correct for any
166166
/// iterator.
167167
///
168168
/// [`usize`]: ../../std/primitive.usize.html

0 commit comments

Comments
 (0)