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

chore: Use edition 2021 panics #2122

Merged
merged 2 commits into from
Feb 5, 2024

Conversation

nyurik
Copy link
Contributor

@nyurik nyurik commented Feb 3, 2024

This change inlines panic formatting for clarity. This will NOT work until the edition is changed to 2021, because panic used to treat strings without parameters as raw strings, not as format args.

See #2023

This will only work after migration to 2021 edition
@nyurik nyurik mentioned this pull request Feb 3, 2024
@seanmonstar seanmonstar merged commit 05c3982 into seanmonstar:master Feb 5, 2024
31 checks passed
@nyurik nyurik deleted the inline-panics-ed2021 branch February 5, 2024 14:26
Nutomic pushed a commit to Nutomic/reqwest that referenced this pull request Nov 7, 2024
This will only work after migration to 2021 edition
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.

2 participants