Skip to content

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

Merged
dtolnay merged 2 commits intodtolnay:masterfrom
quartiq:core
May 17, 2024
Merged

std::fmt -> core::fmt#299
dtolnay merged 2 commits intodtolnay:masterfrom
quartiq:core

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
@jordens jordens deleted the core branch May 17, 2024 20:34
takumi-earth pushed a commit to earthlings-dev/thiserror that referenced this pull request Jan 27, 2026
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