Skip to content

Fix Display macro in #![no_std] programs #407

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
Feb 8, 2025

Conversation

bugadani
Copy link
Contributor

In #[no_std] format! does not exist, so the to_string helper was not usable.

@bugadani bugadani changed the title Fix Display macro in no_std apps Fix Display macro in #![no_std] programs Jan 27, 2025
@Peternator7
Copy link
Owner

Nice, probably reduces an allocation in std as well.

@Peternator7 Peternator7 merged commit b7c31f5 into Peternator7:master Feb 8, 2025
1 check failed
@bugadani bugadani deleted the nostd branch February 8, 2025 08:08
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