Skip to content

chore(rustfmt): remove executable path from usage string #5216

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

Conversation

tharun208
Copy link
Contributor

This PR removes the rustfmt executable path from usage string.

Fixes #5214

@ytmimi
Copy link
Contributor

ytmimi commented Feb 4, 2022

Thanks for another PR!

The proposed changes look good to me.

One minor ask: If this is the desired usage text for rustfmt I think it would be nice to have a test for it. Would you mind including a test for the usage text in tests\rustfmt\main.rs. You should be able to use the existing tests as a guide.

@tharun208
Copy link
Contributor Author

@ytmimi added test for usage text

@ytmimi
Copy link
Contributor

ytmimi commented Feb 4, 2022

Thanks again for this PR!

The changes look good to me, and I'm happy to move forward with them!

Copy link
Member

@calebcartwright calebcartwright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM too! Thanks for the PR @tharun208 and @ytmimi for reviewing!

@calebcartwright calebcartwright merged commit b05b313 into rust-lang:master Feb 11, 2022
@tharun208 tharun208 deleted the chore/remove_executable_path_from_usage branch February 11, 2022 05:30
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.

rustfmt binary path in usage string
3 participants