We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0834e29 commit 7c4c02fCopy full SHA for 7c4c02f
crates/boilerplate-macros/src/lib.rs
@@ -25,10 +25,12 @@ pub fn boilerplate(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
25
26
quote! {
27
{
28
+ extern crate alloc;
29
+
30
use ::core::fmt::Write;
31
32
let boilerplate_text = &[ #(#text),* ];
- let mut boilerplate_output = ::alloc::string::String::new();
33
+ let mut boilerplate_output = alloc::string::String::new();
34
35
#body
36
0 commit comments