]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #74536 - Nicholas-Baron:master, r=joshtriplett
authorManish Goregaokar <manishsmail@gmail.com>
Mon, 20 Jul 2020 02:12:45 +0000 (19:12 -0700)
committerGitHub <noreply@github.com>
Mon, 20 Jul 2020 02:12:45 +0000 (19:12 -0700)
commit27947b69f9d879de45716312e4a7bd486d8d8f93
tree9827865878e252122d172de6af05de74524c54e8
parente8fc9934097e67c3f3fe11874ad2a89694a80bf2
parent09d55292ed1eca97b997f22656eb7e696e9c1bf1
Rollup merge of #74536 - Nicholas-Baron:master, r=joshtriplett

fix documentation surrounding the `in` and `for` keywords

Addresses #74529

The `in` keyword incorrectly referenced the `Iterator` trait. This reference was changed to `IntoIterator` without changing the underlying link.

Additionally, the `IntoIterator` trait was referenced towards the end of the documentation for `for`. An additional reference was added earlier and broadened the existing documentation from any iterator to anything that can be turned into an iterator.
src/libstd/keyword_docs.rs