Rollup merge of #41916 - mglagla:typo, r=sfackler

Fix typo in Iterator::size_hint example comment
This commit is contained in:
Mark Simulacrum 2017-05-12 18:57:31 -06:00 committed by GitHub
commit 82c3163461

View File

@ -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