mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-13 18:21:01 +00:00
Fix Box<str> use on no_std
This commit is contained in:
@@ -28,6 +28,10 @@ use collections::{
|
|||||||
};
|
};
|
||||||
#[cfg(all(feature = "collections", not(feature = "std")))]
|
#[cfg(all(feature = "collections", not(feature = "std")))]
|
||||||
use collections::borrow::Cow;
|
use collections::borrow::Cow;
|
||||||
|
#[cfg(all(feature = "collections", not(feature = "std")))]
|
||||||
|
use collections::boxed::Box;
|
||||||
|
#[cfg(all(feature = "collections", not(feature = "std")))]
|
||||||
|
use collections::string::ToString;
|
||||||
|
|
||||||
#[cfg(all(feature = "unstable", feature = "collections"))]
|
#[cfg(all(feature = "unstable", feature = "collections"))]
|
||||||
use collections::borrow::ToOwned;
|
use collections::borrow::ToOwned;
|
||||||
|
|||||||
Reference in New Issue
Block a user