Skip to content

Commit

Permalink
Rollup merge of rust-lang#56242 - GuillaumeGomez:iterator-missing-lin…
Browse files Browse the repository at this point in the history
…k, r=Centril

Add missing link in docs

r? @steveklabnik
  • Loading branch information
Centril authored Dec 24, 2018
2 parents 1eb8786 + 1a8f908 commit 833e0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/iter/iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ pub trait Iterator {
/// That said, the implementation should provide a correct estimation,
/// because otherwise it would be a violation of the trait's protocol.
///
/// The default implementation returns `(0, None)` which is correct for any
/// The default implementation returns `(0, `[`None`]`)` which is correct for any
/// iterator.
///
/// [`usize`]: ../../std/primitive.usize.html
Expand Down

0 comments on commit 833e0b3

Please sign in to comment.