Rewrite another std::string::String to alloc.
This commit is contained in:
@@ -6,7 +6,7 @@ use crate::packed_option::PackedOption;
|
|||||||
use core::fmt;
|
use core::fmt;
|
||||||
use core::marker::PhantomData;
|
use core::marker::PhantomData;
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
use std::string::String;
|
use alloc::string::String;
|
||||||
|
|
||||||
/// Tag type defining forest types for a map.
|
/// Tag type defining forest types for a map.
|
||||||
struct MapTypes<K, V>(PhantomData<(K, V)>);
|
struct MapTypes<K, V>(PhantomData<(K, V)>);
|
||||||
|
|||||||
Reference in New Issue
Block a user