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

fix: support running in sub directories/workspace member directories #3652

Merged
merged 1 commit into from
Jun 25, 2019

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