-
Notifications
You must be signed in to change notification settings - Fork 924
Support --all flag #1532
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
Comments
Duplicate of #1244, which was already fixed. |
Yes. |
I can't get this to work, running cargo fmt --all I get the following:
Maybe I'm perhaps using it wrong? I'm trying to run this from within the root directory of a cargo virtual workspace. |
You probably want |
Thank you @emilio I will give that a shot. Color me super surprised that's the syntax the cargo fmt team went with for this... I'm sure there's a good reason (; |
I think it is because of Cargo, rather than rustfmt - arguments before the |
Are you using the latest version of rustfmt? I can run |
It will be nice if cargo fmt --all will format all the projects in workspace just like cargo test -all will run all the tests in workspace.
The text was updated successfully, but these errors were encountered: