Skip to content

Commit e42262f

Browse files
committed
Provide ToString for re-export by serde::export
1 parent 0a3eeab commit e42262f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎serde/src/lib.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ mod lib {
154154
#[cfg(all(feature = "alloc", not(feature = "std")))]
155155
pub use alloc::string::{String, ToString};
156156
#[cfg(feature = "std")]
157-
pub use std::string::String;
157+
pub use std::string::{String, ToString};
158158

159159
#[cfg(all(feature = "alloc", not(feature = "std")))]
160160
pub use alloc::vec::Vec;

0 commit comments

Comments
 (0)