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

Improve std::iter::zip example #91711

Merged
merged 1 commit into from
Dec 11, 2021
Merged

Improve std::iter::zip example #91711

merged 1 commit into from
Dec 11, 2021

Conversation

andrewbanchich
Copy link
Contributor

@andrewbanchich andrewbanchich commented Dec 9, 2021

println! isn't great for doc comments / tests.

@rust-highfive
Copy link
Collaborator

r? @Mark-Simulacrum

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 9, 2021
@andrewbanchich andrewbanchich changed the title Improve std::iter::zip example Improve std::iter::zip example Dec 9, 2021
library/core/src/iter/adapters/zip.rs Outdated Show resolved Hide resolved
library/core/src/iter/adapters/zip.rs Outdated Show resolved Hide resolved
@Mark-Simulacrum
Copy link
Member

Mind squashing the commits into one? r=me with that done.

Update library/core/src/iter/adapters/zip.rs

Co-authored-by: r00ster <[email protected]>

Update library/core/src/iter/adapters/zip.rs

Co-authored-by: r00ster <[email protected]>
@andrewbanchich
Copy link
Contributor Author

r? @Mark-Simulacrum

(not sure if I did that right since I'm not sure what r=me does and Google doesn't help)

@bors
Copy link
Contributor

bors commented Dec 9, 2021

@andrewbanchich: 🔑 Insufficient privileges: Not in reviewers

@Mark-Simulacrum
Copy link
Member

Just means that I'll be happy to approve the PR with that change.

@bors r+

@bors
Copy link
Contributor

bors commented Dec 9, 2021

📌 Commit c78fb62 has been approved by Mark-Simulacrum

@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 Dec 9, 2021
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Dec 11, 2021
… r=Mark-Simulacrum

Improve `std::iter::zip` example

`println!` isn't great for doc comments / tests.
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 11, 2021
…askrgr

Rollup of 7 pull requests

Successful merges:

 - rust-lang#91617 (Improve the readability of `List<T>`.)
 - rust-lang#91640 (Simplify collection of in-band lifetimes)
 - rust-lang#91682 (rustdoc: Show type layout for type aliases)
 - rust-lang#91711 (Improve `std::iter::zip` example)
 - rust-lang#91717 (Add deprecation warning for --passes)
 - rust-lang#91718 (give more help in the unaligned_references lint)
 - rust-lang#91782 (Correct since attribute for `is_symlink` feature)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 94ac197 into rust-lang:master Dec 11, 2021
@rustbot rustbot added this to the 1.59.0 milestone Dec 11, 2021
@andrewbanchich andrewbanchich deleted the improve-zip-example branch December 11, 2021 20:05
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.

6 participants