codegen: explicit import of format! macro
This commit is contained in:
parent
1051a3f108
commit
7fcbfcc7fd
@ -3,6 +3,11 @@
|
||||
#[cfg(no_std)]
|
||||
use core::mem;
|
||||
|
||||
#[cfg(no_std)]
|
||||
use alloc::format;
|
||||
#[cfg(not(no_std))]
|
||||
use std::format;
|
||||
|
||||
use std::collections::HashMap;
|
||||
|
||||
use quote::{quote, quote_spanned};
|
||||
|
@ -3,6 +3,7 @@
|
||||
pub use crate::{
|
||||
stdlib::any::TypeId,
|
||||
stdlib::boxed::Box,
|
||||
stdlib::format,
|
||||
stdlib::string::ToString,
|
||||
stdlib::vec::Vec,
|
||||
stdlib::vec as new_vec,
|
||||
|
Loading…
Reference in New Issue
Block a user