Uh oh!
There was an error while loading. Please reload this page.
fix documentation surrounding the in and for keywords - #74536
Conversation
rust-highfive
commented
Jul 19, 2020
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @joshtriplett (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
in and for keywordsin and for keywordsUh oh!
There was an error while loading. Please reload this page.
Clear up wording regarding the iterator and usage of `break`. Co-authored-by: Josh Triplett <josh@joshtriplett.org>
joshtriplett
commented
Jul 20, 2020
@bors r+ rollup |
bors
commented
Jul 20, 2020
📌 Commit 09d5529 has been approved by |
joshtriplett
commented
Jul 20, 2020
Thanks! |
…arth Rollup of 9 pull requests Successful merges: - rust-lang#73618 (Documentation for the false keyword) - rust-lang#74486 (Improve Read::read_exact documentation) - rust-lang#74514 (Do not clobber RUSTDOCFLAGS) - rust-lang#74516 (do not try fetching the ancestors of errored trait impls) - rust-lang#74520 (include backtrace folder in rust-src component) - rust-lang#74523 (Improve documentation for `core::fmt` internals) - rust-lang#74527 (Add myself to toolstate change notifications for rustfmt) - rust-lang#74534 (Only skip impls of foreign unstable traits) - rust-lang#74536 (fix documentation surrounding the `in` and `for` keywords) Failed merges: r? @ghost
Addresses #74529
The
inkeyword incorrectly referenced theIteratortrait. This reference was changed toIntoIteratorwithout changing the underlying link.Additionally, the
IntoIteratortrait was referenced towards the end of the documentation forfor. An additional reference was added earlier and broadened the existing documentation from any iterator to anything that can be turned into an iterator.