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

std::fmt -> core::fmt #299

Merged
merged 2 commits into from
May 17, 2024
Merged

std::fmt -> core::fmt #299

merged 2 commits into from
May 17, 2024

Conversation

jordens
Copy link
Contributor

@jordens jordens commented May 17, 2024

This changes usage of std::fmt to core::fmt in the main crate.

The corresponding change in the derive macro crate was in #255 .

This simplifies adding support for no_std once error_in_core becomes stable.

Also changes the single use of {std -> core}::panic::UnwindSafe.

Copy link
Owner

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

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

Thanks!

@dtolnay dtolnay merged commit 6b2b871 into dtolnay:master May 17, 2024
10 checks passed
@jordens jordens deleted the core branch May 17, 2024 20:34
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