diff options
| author | Nicholas-Baron <nicholas.baron.ten@gmail.com> | 2020-07-19 14:06:55 -0700 |
|---|---|---|
| committer | Nicholas-Baron <nicholas.baron.ten@gmail.com> | 2020-07-19 14:06:55 -0700 |
| commit | f268525d966a99ca6881d6f7dc18aafe85c6d28c (patch) | |
| tree | 0ea7075768a0cef64bea7fbeb233ce88f96ee8be /src/libstd | |
| parent | 6c493df0f83c6114cddc1ad72929d1f9d4aded1e (diff) | |
Linked the earlier mention of IntoIterator in the keyword 'for' docs
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/keyword_docs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<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 |
