Skip to content

internal: Try to improve the rustfmt.overrideCommand docs #14183

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

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

lnicola
Copy link
Member

@lnicola lnicola commented Feb 21, 2023

Closes #14078

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 21, 2023
@lnicola
Copy link
Member Author

lnicola commented Feb 21, 2023

r? @lowr

Comment on lines 459 to 460
/// formatting. This should be the equivalent of `rustfmt` here, and
/// not that of `cargo fmt`.
Copy link
Contributor

Choose a reason for hiding this comment

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

It might be worth making explicit that the command should read code to format from stdin and write formatted code back to stdout.

@lnicola lnicola force-pushed the rustfmt-command-docs branch from b9556d0 to 563bd9c Compare February 21, 2023 10:43
@lnicola
Copy link
Member Author

lnicola commented Feb 21, 2023

@bors r=lowr

@bors
Copy link
Contributor

bors commented Feb 21, 2023

📌 Commit 563bd9c has been approved by lowr

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Feb 21, 2023

⌛ Testing commit 563bd9c with merge 27239fb...

@bors
Copy link
Contributor

bors commented Feb 21, 2023

☀️ Test successful - checks-actions
Approved by: lowr
Pushing 27239fb to master...

@bors bors merged commit 27239fb into rust-lang:master Feb 21, 2023
@lnicola lnicola deleted the rustfmt-command-docs branch February 21, 2023 11:23
@lnicola lnicola changed the title minor: Try to improve the rustfmt.overrideCommand docs internal: Try to improve the rustfmt.overrideCommand docs Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VSCode format on save using nightly will delete the content
4 participants