Error message geared toward serializer users
The previous message was targeted toward Serializer implementors, which is not the group that will be seeing this message most often.
This commit is contained in:
parent
fbe85f399d
commit
36da8a5cee
@ -643,7 +643,7 @@ pub trait Serializer: Sized {
|
||||
{
|
||||
// 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"))
|
||||
Err(Error::custom("this no_std format does not support serializing strings with collect_str"))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user