diff --git a/serde/src/ser/mod.rs b/serde/src/ser/mod.rs index e12e5998..3cc87d4e 100644 --- a/serde/src/ser/mod.rs +++ b/serde/src/ser/mod.rs @@ -641,6 +641,8 @@ pub trait Serializer: Sized { fn collect_str(self, _value: &T) -> Result where T: Display, { + // TODO https://github.com/serde-rs/serde/issues/805 + // Remove this impl and force no_std formats to implement collect_str. Err(Error::custom("Default impl of collect_str errors out for no_std builds")) } }