Skip to content

Conversation

@Peternator7
Copy link
Owner

fixes #359

tronical added a commit to slint-ui/slint that referenced this pull request Jun 3, 2024
Patch in Peternator7/strum#360 until it is
merged and released on crates.io.
@Peternator7 Peternator7 merged commit a663c60 into master Jun 5, 2024
}
}
Fields::Unit => quote! { #name::#ident #params => ::core::fmt::Display::fmt(&format!(#output), f) }
Fields::Unit => {

Choose a reason for hiding this comment

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

Related to #363
Since format! is no longer used for Unit, please do not check the curly brackets on it.
This will cause the use of a single curly bracket to fail to compile, and two curly brackets cannot be escaped.
Or continue to use format! for Unit, and release it as a breaking change.

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.

strum-macros 0.26.3 breaks no_std build

3 participants