Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo fmt with 2024 rustfmt edition #22019

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

tdyas
Copy link
Contributor

@tdyas tdyas commented Feb 27, 2025

As of Rust 2024 Edition, rustfmt can be bumped to the new edition's formatting rules before moving the crates' code to the new edition.

This PR does just that by adding a rustfmt.toml with the applicable configuration.

This should help minimize fmt-related churn when porting crates to 2024 Edition.

@tdyas tdyas added category:internal CI, fixes for not-yet-released features, etc. release-notes:not-required PR doesn't require mention in release notes labels Feb 27, 2025
@tdyas tdyas requested review from huonw and tgolsson February 27, 2025 22:03
@tdyas tdyas merged commit 0be5c80 into pantsbuild:main Feb 28, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:internal CI, fixes for not-yet-released features, etc. release-notes:not-required PR doesn't require mention in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants