docs: change where clause to bound

https://github.com/rust-lang/rust/blob/master/src/libcore/iter.rs#L1541
This commit is contained in:
Liigo Zhuang 2015-10-18 21:23:56 +08:00
parent 3f2ad610a8
commit 6ec807c220

View File

@ -209,7 +209,7 @@
//! interesting implementation of [`IntoIterator`]:
//!
//! ```ignore
//! impl<I> IntoIterator for I where I: Iterator
//! impl<I: Iterator> IntoIterator for I
//! ```
//!
//! In other words, all [`Iterator`]s implement [`IntoIterator`], by just