mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-05-08 05:27:58 +00:00
Fix space in serde_test panic message
Without this, the message contains "representationsmust".
This commit is contained in:
@@ -366,7 +366,7 @@ impl<'de, 'a> de::Deserializer<'de> for &'a mut Deserializer<'de> {
|
||||
|
||||
fn is_human_readable(&self) -> bool {
|
||||
panic!(
|
||||
"Types which have different human-readable and compact representations\
|
||||
"Types which have different human-readable and compact representations \
|
||||
must explicitly mark their test cases with `serde_test::Configure`"
|
||||
);
|
||||
}
|
||||
|
||||
@@ -297,7 +297,7 @@ impl<'s, 'a> ser::Serializer for &'s mut Serializer<'a> {
|
||||
|
||||
fn is_human_readable(&self) -> bool {
|
||||
panic!(
|
||||
"Types which have different human-readable and compact representations\
|
||||
"Types which have different human-readable and compact representations \
|
||||
must explicitly mark their test cases with `serde_test::Configure`"
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user