style-guide: Only use the new binop heuristic for assignments by joshtriplett · Pull Request #132369 · 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 Checks6 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 }})

joshtriplett

This avoids pathological cases where chains of binops get progressively
deeper.

@joshtriplett

This avoids pathological cases where chains of binops get progressively deeper.

@rustbot

r? @compiler-errors

rustbot has assigned @compiler-errors.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review

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

T-style

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

labels

Oct 30, 2024

@rustbot

Some changes occurred in src/doc/style-guide

cc @rust-lang/style

@calebcartwright

calebcartwright

Choose a reason for hiding this comment

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

one minor suggestion for consideration, but r=me without it

@calebcartwright

@rustbot rustbot added S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

and removed S-waiting-on-review

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

labels

Oct 31, 2024

@joshtriplett

@bors

📌 Commit d7e6074 has been approved by calebcartwright

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-author

Status: This is awaiting some action (such as code changes or more information) from the author.

labels

Nov 1, 2024

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

Nov 1, 2024

@matthiaskrgr

…ristic-assignment-only, r=calebcartwright

style-guide: Only use the new binop heuristic for assignments

This avoids pathological cases where chains of binops get progressively deeper.

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

Nov 1, 2024

@bors

…iaskrgr

Rollup of 6 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

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

Nov 1, 2024

@jieyouxu

…ristic-assignment-only, r=calebcartwright

style-guide: Only use the new binop heuristic for assignments

This avoids pathological cases where chains of binops get progressively deeper.

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

Nov 1, 2024

@bors

Rollup of 13 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

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

Nov 1, 2024

@bors

…llaumeGomez

Rollup of 14 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

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

Nov 2, 2024

@rust-timer

Rollup merge of rust-lang#132369 - joshtriplett:style-guide-binop-heuristic-assignment-only, r=calebcartwright

style-guide: Only use the new binop heuristic for assignments

This avoids pathological cases where chains of binops get progressively deeper.

@joshtriplett joshtriplett deleted the style-guide-binop-heuristic-assignment-only branch

November 13, 2024 20:36

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

Dec 31, 2024

@ehuss

…inop-heuristic-assignment-only, r=calebcartwright"

This reverts commit 348d280, reversing changes made to 526c67f.

@ehuss ehuss mentioned this pull request

Dec 31, 2024

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

Dec 31, 2024

@Noratrieb

…, r=compiler-errors

Revert style guide rhs break

This reverts rust-lang#132369 and rust-lang#119838. The style-guide change for indentation of rhs was not implemented in time for the 2024 style edition. See tracking issue rust-lang#132380.

cc rust-lang#134974 for the other style guide change in 2024.

r? @compiler-errors

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

Dec 31, 2024

@tgross35

…, r=compiler-errors

Revert style guide rhs break

This reverts rust-lang#132369 and rust-lang#119838. The style-guide change for indentation of rhs was not implemented in time for the 2024 style edition. See tracking issue rust-lang#132380.

cc rust-lang#134974 for the other style guide change in 2024.

r? @compiler-errors

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

Jan 1, 2025

@rust-timer

Labels

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

T-style

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