rust-lang / rust-lang/rustfmt

[unstable option] `match_arm_indent`

Open
#6,533 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

unstable-option UO-match_arm_indent
Dominant language
Rust
Stars
7k
Forks
1.1k
Avg merge
2d 13h
Merged PRs (30d)
24

Description

Tracking issue for unstable option: match_arm_indent.
This option was added by https://github.com/rust-lang/rustfmt/pull/6525 and requested in https://github.com/rust-lang/rustfmt/issues/2937

Option documentation.

See Processes.md, "Stabilising an Option":

  • Is the default value correct?
  • The design and implementation of the option are sound and clean.
  • The option is well tested, both in unit tests and, optimally, in real usage.
  • There is no open bug about the option that prevents its use.

Also see:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Processes.md, especially “Stabilising an Option,” and review the implementation introduced by rust-lang/rustfmt#6525 along with the request in issue #2937. Determine whether the design and implementation are sound, whether the option has adequate unit and real-usage tests, and whether any blocking bugs remain before completing the checklist.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.