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
❯ 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