We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 043dc12 commit b7c31f5Copy full SHA for b7c31f5
strum_macros/src/macros/strings/display.rs
@@ -94,7 +94,7 @@ pub fn display_inner(ast: &DeriveInput) -> syn::Result<TokenStream> {
94
95
quote! {
96
#[allow(unused_variables)]
97
- #name::#ident #params => ::core::fmt::Display::fmt(&format!(#output, #args), f)
+ #name::#ident #params => ::core::fmt::Display::fmt(&format_args!(#output, #args), f)
98
}
99
100
},
0 commit comments