Use <T, U> for array/slice equality impls by wackbyte · Pull Request #120384 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation9 Commits1 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

wackbyte

Makes the trait implementation documentation for arrays and slices appear more consistent.

Example: mixed A, B, and U.
List of PartialEq implementations for arrays

This change makes them all U.

@rustbot

r? @thomcc

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-libs

Relevant to the library team, which will review and decide on the PR/issue.

labels

Jan 26, 2024

@rust-log-analyzer

This comment has been minimized.

@wackbyte

(I made the patch in GitHub's web editor so I was unaware of the failing tests. But at least now there are more examples of the inconsistency :P)

@wackbyte wackbyte changed the titleUse <T, U> for array equality impls Use <T, U> for array/slice equality impls

Jan 26, 2024

@rust-log-analyzer

This comment has been minimized.

@wackbyte

Makes the trait implementation documentation for arrays and slices appear more consistent.

@wackbyte

@rustbot rustbot added the A-docs

Area: Documentation for any part of the project, including the compiler, standard library, and tools

label

Jan 30, 2024

@thomcc

I'm going to be away for a few months, so I'm rerolling my PRs so that folks don't have to wait for me. Sorry/thanks.

r? libs

@Mark-Simulacrum

@bors

📌 Commit 3f3a153 has been approved by Mark-Simulacrum

It is now in the queue for this repository.

@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

Feb 4, 2024

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Feb 4, 2024

@matthiaskrgr

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Feb 4, 2024

@matthiaskrgr

bors added a commit to rust-lang-ci/rust that referenced this pull request

Feb 5, 2024

@bors

…iaskrgr

Rollup of 7 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Feb 5, 2024

@matthiaskrgr

bors added a commit to rust-lang-ci/rust that referenced this pull request

Feb 5, 2024

@bors

…iaskrgr

Rollup of 7 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Feb 5, 2024

@matthiaskrgr

bors added a commit to rust-lang-ci/rust that referenced this pull request

Feb 5, 2024

@bors

…iaskrgr

Rollup of 9 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

bors added a commit to rust-lang-ci/rust that referenced this pull request

Feb 5, 2024

@bors

…iaskrgr

Rollup of 8 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

bors added a commit to rust-lang-ci/rust that referenced this pull request

Feb 5, 2024

@bors

…iaskrgr

Rollup of 8 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

@Nadrieril

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Feb 5, 2024

@rust-timer

@wackbyte wackbyte deleted the array-equality-generics branch

February 5, 2024 15:51

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.