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
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
2 changed files with 2 additions and 2 deletions

View File

@ -366,7 +366,7 @@ impl<'de, 'a> de::Deserializer<'de> for &'a mut Deserializer<'de> {
fn is_human_readable(&self) -> bool { fn is_human_readable(&self) -> bool {
panic!( 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`" must explicitly mark their test cases with `serde_test::Configure`"
); );
} }

View File

@ -297,7 +297,7 @@ impl<'s, 'a> ser::Serializer for &'s mut Serializer<'a> {
fn is_human_readable(&self) -> bool { fn is_human_readable(&self) -> bool {
panic!( 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`" must explicitly mark their test cases with `serde_test::Configure`"
); );
} }