From f268525d966a99ca6881d6f7dc18aafe85c6d28c Mon Sep 17 00:00:00 2001 From: Nicholas-Baron Date: Sun, 19 Jul 2020 14:06:55 -0700 Subject: [PATCH] Linked the earlier mention of IntoIterator in the keyword 'for' docs --- src/libstd/keyword_docs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/keyword_docs.rs b/src/libstd/keyword_docs.rs index d99399c0869..0ab4a45b779 100644 --- a/src/libstd/keyword_docs.rs +++ b/src/libstd/keyword_docs.rs @@ -473,7 +473,7 @@ mod fn_keyword {} /// * `for` is also used for [higher-ranked trait bounds] as in `for<'a> &'a T: PartialEq`. /// /// 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