Skip to content

WIP: Configure rustfmt hex_literal_case - #571

Open
nikobockerman wants to merge 2 commits into
mainfrom
configure-rustfmt-hex-literal-case
Open

WIP: Configure rustfmt hex_literal_case#571
nikobockerman wants to merge 2 commits into
mainfrom
configure-rustfmt-hex-literal-case

Conversation

@nikobockerman

Copy link
Copy Markdown
Owner

This configuration option is recently stabilized and defaults to "Preserve". Configure it to "Upper" in order to have unified formatting in the repo.

Copilot AI lite review requested due to automatic review settings June 16, 2026 04:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a Rust formatting configuration to enforce consistent casing for hexadecimal literals across the Rust solver codebase.

Changes:

  • Introduces hex_literal_case = "Upper" in the Rust solver’s rustfmt.toml to standardize hex literal formatting.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings August 22, 2026 14:40
@nikobockerman
nikobockerman force-pushed the configure-rustfmt-hex-literal-case branch from 5c6c719 to 9ae5aa5 Compare August 22, 2026 14:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The change is a scoped rustfmt configuration update and is consistent with the Rust solver crate’s formatting workflow.

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

This configuration option is recently stabilized and defaults to
"Preserve". Configure it to "Upper" in order to have unified formatting
in the repo.
Copilot AI review requested due to automatic review settings September 3, 2026 17:55
@nikobockerman
nikobockerman force-pushed the configure-rustfmt-hex-literal-case branch from 9ae5aa5 to 90da3af Compare September 3, 2026 17:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The change is a small, low-risk formatting configuration addition that aligns with the repo’s Rust formatting checks.

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 3, 2026 19:19
@nikobockerman nikobockerman changed the title Configure rustfmt hex_literal_case WIP: Configure rustfmt hex_literal_case Sep 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The updated multi-line check:rustfmt script can still exit successfully even if cargo fmt --check fails, which can allow formatting regressions to pass CI.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread solvers/rust/mise.toml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants