Fix space in serde_test panic message

Without this, the message contains "representationsmust".
This commit is contained in:
David Tolnay
2017-11-06 22:46:24 -08:00
parent 7a0397451e
commit 501bae42f5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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`"
);
}
+1 -1
View File
@@ -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`"
);
}