fmt-rfcs icon indicating copy to clipboard operation
fmt-rfcs copied to clipboard

RFCs for Rust formatting guidelines and changes to Rustfmt

Results 33 fmt-rfcs issues
Sort by recently updated
recently updated
newest added

In #35 the discussion was mainly about how we format the body of closures. Currently rustfmt uses visual indent when we need to use multiple lines for closure's arguments: ```rust...

* **[Rendered](https://github.com/yaahc/style-team/blob/membership-characteristics/charter.md#team-member-characteristics)** This is in service of the first item in our [backlog](https://hackmd.io/lcquVLbdTTiW1oMDTmpn5A?both#Backlog) * Style team membership growth ### Goals * Clarify what it means to be a style team...

T-style

There's a [rustfmt PR](https://github.com/rust-lang/rustfmt/pull/5847) that I started a while ago that hasn't received much traction since it was marked blocked pending t-style's decision. To my understanding, there have been these...

The cargo team is interested in having `cargo fmt` format the manifest. We should review the manifest formatting and make sure it's what we want it to be for automatic...

@yaahc has shared that she will be stepping down from the team soon (and will be dearly missed :cry:). Our [charter states that](https://github.com/rust-lang/style-team/blob/main/charter.md#membership): > The Rust style team shall have...

I discovered this issue in some code I'm working on, and constructed this sample to match the issue I observed: ```rust impl SomeType { fn method(&mut self) { self.array[array_index as...

Feature tracking issue: rust-lang/rust#53667 ***Should we introduce a new guideline for wrapping let-chains?*** The rationale is that let-chains allow `let` bindings to be anywhere in a line of code. `let`...

The Style Guide currently has differing guidance around whether to break before or after the assignment operator depending on whether the construct is a let statement ([after](https://github.com/rust-lang/rust/blob/master/src/doc/style-guide/src/statements.md#let-statements)) or a control...

ready-for-PR

(this was originally a [comment in #61](https://github.com/rust-dev-tools/fmt-rfcs/issues/61#issuecomment-573370023)) I'm trying to dig up why the rustfmt `overflow_delimited_expr` shouldn't be enabled by default. And I found it derives from the following statement...

One common complaint I've seen (and made myself) coming to rust-guide-formatted code from many other languages is the vertical-ness of a lot of common rust code. This leads to less...