style: Clarify nullary call and () no-break rule applies past max width#156826
Open
ajasad25 wants to merge 1 commit into
Open
style: Clarify nullary call and () no-break rule applies past max width#156826ajasad25 wants to merge 1 commit into
() no-break rule applies past max width#156826ajasad25 wants to merge 1 commit into
Conversation
Collaborator
|
Some changes occurred in src/doc/style-guide cc @rust-lang/style |
Collaborator
|
r? @traviscross rustbot has assigned @traviscross. Use Why was this reviewer chosen?The reviewer was selected based on:
|
Author
|
Fixes #152761 |
Author
|
@traviscross please take a look. |
() no-break rule applies past max w…() no-break rule applies past max width
Member
|
This looks like it implements exactly what was FCPed. Thank you! @bors r+ rollup |
Contributor
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
May 30, 2026
…arens-152761, r=joshtriplett style: Clarify nullary call and `()` no-break rule applies past max width …idth
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
May 30, 2026
…arens-152761, r=joshtriplett style: Clarify nullary call and `()` no-break rule applies past max width …idth
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
May 30, 2026
…arens-152761, r=joshtriplett style: Clarify nullary call and `()` no-break rule applies past max width …idth
rust-bors Bot
pushed a commit
that referenced
this pull request
May 30, 2026
…uwer Rollup of 12 pull requests Successful merges: - #154591 (Remove `will_cache_on_disk_for_key_fn`) - #156672 (Misc improvements to coroutine transform code) - #157027 (HIR ty lowering: Move some things into submodules) - #157051 (Allow two object files for a single CGU in CompiledModule) - #157100 (Some more per owner things) - #153497 (Use `trait_object_dummy_self` more & heavily fix+update related docs) - #155638 (Fix tupled closure signature in `AsyncFn` arg mismatch diagnostic) - #156826 (style: Clarify nullary call and `()` no-break rule applies past max width) - #157004 (Remove unused functions in `value_analysis.rs`) - #157032 (Fixed more &x ->&mut x suggestions) - #157033 (Note irrefutable while let in loop type errors) - #157139 (compiler: `ops::RangeInclusive` → `range::RangeInclusive`) Failed merges: - #156875 (Correct and document semantics of `yield` terminator)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…idth