Provide ToString for re-export by serde::export

This commit is contained in:
David Tolnay 2019-05-31 13:42:22 -07:00
parent 0a3eeab273
commit e42262f0f5
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -154,7 +154,7 @@ mod lib {
#[cfg(all(feature = "alloc", not(feature = "std")))]
pub use alloc::string::{String, ToString};
#[cfg(feature = "std")]
pub use std::string::String;
pub use std::string::{String, ToString};
#[cfg(all(feature = "alloc", not(feature = "std")))]
pub use alloc::vec::Vec;