We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 940ceb1 commit 6c493dfCopy full SHA for 6c493df
src/libstd/keyword_docs.rs
@@ -680,7 +680,7 @@ mod impl_keyword {}
680
//
681
/// Iterate over a series of values with [`for`].
682
///
683
-/// The expression immediately following `in` must implement the [`Iterator`] trait.
+/// The expression immediately following `in` must implement the [`IntoIterator`] trait.
684
685
/// ## Literal Examples:
686
@@ -689,7 +689,7 @@ mod impl_keyword {}
689
690
/// (Read more about [range patterns])
691
692
-/// [`Iterator`]: ../book/ch13-04-performance.html
+/// [`IntoIterator`]: ../book/ch13-04-performance.html
693
/// [range patterns]: ../reference/patterns.html?highlight=range#range-patterns
694
/// [`for`]: keyword.for.html
695
mod in_keyword {}
0 commit comments