Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document associativity of iterator folds. #86415

Merged
merged 1 commit into from
Jun 24, 2021
Merged

Document associativity of iterator folds. #86415

merged 1 commit into from
Jun 24, 2021

Conversation

Kmeakin
Copy link
Contributor

@Kmeakin Kmeakin commented Jun 17, 2021

Document the associativity of Iterator::fold and
DoubleEndedIterator::rfold and add examples demonstrating this.
Add links to direct users to the fold of the opposite associativity.

Document the associativity of `Iterator::fold` and
`DoubleEndedIterator::rfold` and add examples demonstrating this.
Add links to direct users to the fold of the opposite associativity.
@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @dtolnay (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.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 17, 2021
Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dtolnay
Copy link
Member

dtolnay commented Jun 23, 2021

@bors r+

@bors
Copy link
Contributor

bors commented Jun 23, 2021

📌 Commit 8eb0c0d has been approved by dtolnay

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 23, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 24, 2021
Rollup of 8 pull requests

Successful merges:

 - rust-lang#86137 (Error code cleanup and enforce checks)
 - rust-lang#86296 (Add documentation for various THIR structs)
 - rust-lang#86415 (Document associativity of iterator folds.)
 - rust-lang#86533 (Support lowercase error codes in `--explain`)
 - rust-lang#86536 (Edition 2021 enables disjoint capture)
 - rust-lang#86560 (Update cargo)
 - rust-lang#86561 (chore(rustdoc): Remove unused impl block)
 - rust-lang#86566 (Use `use_verbose` for `mir::Constant`)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 0fa4f0b into rust-lang:master Jun 24, 2021
@rustbot rustbot added this to the 1.55.0 milestone Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants