Skip to content

doc: Iterator::partition use partial type hints#92509

Merged
bors merged 1 commit into
rust-lang:masterfrom
Gentoli:partition-ex
Mar 6, 2022
Merged

doc: Iterator::partition use partial type hints#92509
bors merged 1 commit into
rust-lang:masterfrom
Gentoli:partition-ex

Conversation

@Gentoli

@Gentoli Gentoli commented Jan 3, 2022

Copy link
Copy Markdown
Contributor

Switch to partial type hints to indicate only the collection type is needed.

@rust-highfive

Copy link
Copy Markdown
Contributor

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.

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 Jan 3, 2022
@rust-log-analyzer

This comment has been minimized.

@Gentoli

Gentoli commented Jan 3, 2022

Copy link
Copy Markdown
Contributor Author
let a: [usize: 1] = [1];
a.into_iter()

a.into_iter() is ambiguous with (&[usize: 1]).into_iter() and ([usize: 1]).into_iter(), switched to Vec

@JohnCSimon JohnCSimon added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 23, 2022
Comment thread library/core/src/iter/traits/iterator.rs Outdated
Comment thread library/core/src/iter/traits/iterator.rs Outdated
@camelid camelid added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools T-libs Relevant to the library team, which will review and decide on the PR/issue. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 3, 2022
@Gentoli Gentoli requested a review from camelid March 6, 2022 00:42

@camelid camelid left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@camelid

camelid commented Mar 6, 2022

Copy link
Copy Markdown
Member

@bors r+ rollup

@bors

bors commented Mar 6, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 62a6594 has been approved by camelid

@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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Mar 6, 2022
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Mar 6, 2022
doc: `Iterator::partition` use partial type hints

Switch to partial type hints to indicate only the collection type is needed.
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 6, 2022
Rollup of 3 pull requests

Successful merges:

 - rust-lang#92509 (doc: `Iterator::partition` use partial type hints)
 - rust-lang#94621 (rustbuild: support RelWithDebInfo for lld)
 - rust-lang#94649 (Unix path::absolute: Fix leading "." component)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit d85e4b1 into rust-lang:master Mar 6, 2022
@rustbot rustbot added this to the 1.61.0 milestone Mar 6, 2022
@Gentoli Gentoli deleted the partition-ex branch March 7, 2022 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants