Skip to content

Conversation

@calebcartwright
Copy link
Member

Fixes #3647 and I believe fixes #2694 as well

Builds on @scampi's solution from #3309 to support running cargo fmt from subdirectories in single-package projects as well as in workspaces.

Tested/confirmed on my Windows machine

@topecongiro
Copy link
Contributor

Thank you!

@topecongiro topecongiro merged commit c955b59 into rust-lang:master Jun 25, 2019
@topecongiro topecongiro added this to the 1.3.1 milestone Jun 25, 2019
@Stargateur
Copy link

Stargateur commented Jun 25, 2019

I will confirm when 1.3.1 is out (thanks you)

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.

cargo fmt only works in root directory of project cargo-fmt in (virtual) workspace member directories fails

3 participants