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 forward compatibility of panicking #1436

Merged

Conversation

HeroicKatora
Copy link
Member

The panic macro will change in edition2021 such that it is consistent
between core and std. Currently, only one permits a single formattable
value as the only argument. Instead, it will work more like write and
format itself. This also means that format itself is unnecessary.

Fixed like it should be suggested for: rust-lang/rust#82110

The panic macro will change in edition2021 such that it is consistent
between core and std. Currently, only one permits a single formattable
value as the only argument. Instead, it will work more like write and
format itself. This also means that format itself is unnecessary.

Fixed like it should be suggested for: rust-lang/rust#82110
@HeroicKatora HeroicKatora merged commit 9579426 into image-rs:master Feb 14, 2021
@HeroicKatora HeroicKatora deleted the forward-compatibility-panicking branch February 14, 2021 18:14
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.

1 participant