Skip to content

Commit 3c1bb67

Browse files
sync human-readable value (#8859)
Co-authored-by: Justin Davis <jtdavis777@gmail.com>
1 parent 5b9de8b commit 3c1bb67

File tree

1 file changed

+3
-0
lines changed
  • rust/flexbuffers/src/builder

1 file changed

+3
-0
lines changed

rust/flexbuffers/src/builder/ser.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,9 @@ impl<'a> Serializer for MapKeySerializer<'a> {
421421
type SerializeStruct = Impossible<(), Error>;
422422
type SerializeStructVariant = Impossible<(), Error>;
423423

424+
fn is_human_readable(&self) -> bool {
425+
self.0.is_human_readable()
426+
}
424427
fn serialize_bool(self, _value: bool) -> Result<(), Error> {
425428
key_must_be_a_string()
426429
}

0 commit comments

Comments
 (0)