Skip to content

Add uninlined_format_args example for {:?} #15228

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
Jul 12, 2025

Conversation

AljoschaMeyer
Copy link
Contributor

Before this, you had to guess how to fix a {:?} formatting argument. I have happened to guess {:?var} in the past, got frustrated, and disabled the lint. This additional example would have saved me a bit of trouble.

changelog: [uninlined_format_args]: added an example of how to fix a {:?} parameter.

@rustbot
Copy link
Collaborator

rustbot commented Jul 8, 2025

r? @dswij

rustbot has assigned @dswij.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jul 8, 2025
@dswij dswij added this pull request to the merge queue Jul 9, 2025
@dswij dswij removed this pull request from the merge queue due to a manual request Jul 9, 2025
@dswij
Copy link
Member

dswij commented Jul 9, 2025

Actually, can you leave out the unnecessary commit message here, or change it to be something more descriptive? Thanks!

@AljoschaMeyer
Copy link
Contributor Author

Sorry, that was autogenerated by github I think. Does the first line only, i.e., "Add uninlined_format_args example for {:?}" work for you?

@AljoschaMeyer
Copy link
Contributor Author

Okay, force-pushed a shorter commit message. I hope this works =S

@dswij dswij added this pull request to the merge queue Jul 12, 2025
Merged via the queue into rust-lang:master with commit 3d7188d Jul 12, 2025
11 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jul 12, 2025
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.

3 participants