mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-25 13:24:22 +00:00
Mentioned IntoIterator in keyword 'in' docs
This commit is contained in:
parent
940ceb1a43
commit
6c493df0f8
@ -680,7 +680,7 @@ mod impl_keyword {}
|
|||||||
//
|
//
|
||||||
/// Iterate over a series of values with [`for`].
|
/// Iterate over a series of values with [`for`].
|
||||||
///
|
///
|
||||||
/// The expression immediately following `in` must implement the [`Iterator`] trait.
|
/// The expression immediately following `in` must implement the [`IntoIterator`] trait.
|
||||||
///
|
///
|
||||||
/// ## Literal Examples:
|
/// ## Literal Examples:
|
||||||
///
|
///
|
||||||
@ -689,7 +689,7 @@ mod impl_keyword {}
|
|||||||
///
|
///
|
||||||
/// (Read more about [range patterns])
|
/// (Read more about [range patterns])
|
||||||
///
|
///
|
||||||
/// [`Iterator`]: ../book/ch13-04-performance.html
|
/// [`IntoIterator`]: ../book/ch13-04-performance.html
|
||||||
/// [range patterns]: ../reference/patterns.html?highlight=range#range-patterns
|
/// [range patterns]: ../reference/patterns.html?highlight=range#range-patterns
|
||||||
/// [`for`]: keyword.for.html
|
/// [`for`]: keyword.for.html
|
||||||
mod in_keyword {}
|
mod in_keyword {}
|
||||||
|
Loading…
Reference in New Issue
Block a user