Skip to content

Commit 0608c84

Browse files
authored
RUST-1009 Return false from is_human_readable in raw serializer (#298)
1 parent 01fea3f commit 0608c84

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ser/raw/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ impl<'a> serde::Serializer for &'a mut Serializer {
8484
type SerializeStruct = StructSerializer<'a>;
8585
type SerializeStructVariant = VariantSerializer<'a>;
8686

87+
fn is_human_readable(&self) -> bool {
88+
false
89+
}
90+
8791
#[inline]
8892
fn serialize_bool(self, v: bool) -> Result<Self::Ok> {
8993
self.update_element_type(ElementType::Boolean)?;

0 commit comments

Comments
 (0)