From e42262f0f5e91d3390b110baad1e0a69371bfd40 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 31 May 2019 13:42:22 -0700 Subject: [PATCH] Provide ToString for re-export by serde::export --- serde/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serde/src/lib.rs b/serde/src/lib.rs index 50ce26e6..7cfba525 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -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;