提交 f268525d 编写于 作者: N Nicholas-Baron

Linked the earlier mention of IntoIterator in the keyword 'for' docs

上级 6c493df0
......@@ -473,7 +473,7 @@ mod fn_keyword {}
/// * `for` is also used for [higher-ranked trait bounds] as in `for<'a> &'a T: PartialEq<i32>`.
///
/// for-in-loops, or to be more precise, iterator loops, are a simple syntactic sugar over a common
/// practice within Rust, which is to loop over anything that implements `IntoIterator` until the
/// practice within Rust, which is to loop over anything that implements [`IntoIterator`] until the
/// temporary iterator returns `None` (or `break` is called).
///
/// ```rust
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册