Skip to content

Reformat for stable rustfmt v1.11 - #1261

Open
tnull wants to merge 2 commits into
lightningdevkit:mainfrom
tnull:2026-11-reformat-rustfmt-1.11
Open

tnull wants to merge 2 commits into
lightningdevkit:mainfrom
tnull:2026-11-reformat-rustfmt-1.11

Conversation

@tnull

@tnull tnull commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Rust 1.100 ships rustfmt 1.11, which lays out some existing code
differently. As CI checks formatting with the latest stable toolchain,
the formatting check fails on main independently of any change.

Reformat the affected code with the new version. This doesn't change
any behavior.

Rust 1.100 ships rustfmt 1.11, which lays out some existing code
differently. As CI checks formatting with the latest stable toolchain,
the formatting check fails on main independently of any change.

Reformat the affected code with the new version. This doesn't change
any behavior.

Co-Authored-By: HAL 9000
The pinned nightly predates the formatting changes in stable rustfmt
1.11, so the weekly formatting job would revert them and its PR would
fail the stable formatting check.

Pin a nightly whose output matches stable rustfmt 1.11. We keep a pin
rather than tracking the latest nightly, as that could diverge from
stable again.

Co-Authored-By: HAL 9000
@ldk-reviews-bot

ldk-reviews-bot commented Nov 25, 2026 •

Copy link
Copy Markdown

👋 Thanks for assigning @tankyleo as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@tnull
tnull requested a review from tankyleo November 25, 2026 10:04
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