Skip to content

Commit

Permalink
Rollup merge of rust-lang#41916 - mglagla:typo, r=sfackler
Browse files Browse the repository at this point in the history
Fix typo in Iterator::size_hint example comment
  • Loading branch information
Mark-Simulacrum authored May 12, 2017
2 parents 02ca10f + 641d053 commit fefe8b4
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 @@ -119,7 +119,7 @@ pub trait Iterator {
/// // exactly wouldn't be possible without executing filter().
/// assert_eq!((0, Some(10)), iter.size_hint());
///
/// // Let's add one five more numbers with chain()
/// // Let's add five more numbers with chain()
/// let iter = (0..10).filter(|x| x % 2 == 0).chain(15..20);
///
/// // now both bounds are increased by five
Expand Down

0 comments on commit fefe8b4

Please sign in to comment.