We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--edition 2024
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
❯ rustfmt --version rustfmt 1.8.0-stable (4d91de4e48 2025-02-17)
Consider the following file foo.rs:
foo.rs
fn f() {} // This has trailing whitespace
The trailing whitespace remains when calling rustfmt --edition 2024 foo.rs but rustfmt foo.rs removes it.
rustfmt --edition 2024 foo.rs
rustfmt foo.rs
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Consider the following file
foo.rs
:The trailing whitespace remains when calling
rustfmt --edition 2024 foo.rs
butrustfmt foo.rs
removes it.The text was updated successfully, but these errors were encountered: