mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-25 03:27:56 +00:00
Fix a compile error in derive(Deserialize) with no_std + alloc
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ pub use lib::result::Result::{self, Err, Ok};
|
||||
pub use self::string::from_utf8_lossy;
|
||||
|
||||
#[cfg(any(feature = "alloc", feature = "std"))]
|
||||
pub use lib::Vec;
|
||||
pub use lib::{ToString, Vec};
|
||||
|
||||
mod string {
|
||||
use lib::*;
|
||||
|
||||
Reference in New Issue
Block a user