Skip to content
This repository has been archived by the owner on Aug 15, 2021. It is now read-only.

Commit

Permalink
Correctly set value::Serializer's is_human_readable
Browse files Browse the repository at this point in the history
  • Loading branch information
kostko authored and pyfisch committed Jul 8, 2019
1 parent 2eec6be commit bb2993f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/value/ser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,11 @@ impl serde::Serializer for Serializer {
map: BTreeMap::new(),
})
}

#[inline]
fn is_human_readable(&self) -> bool {
false
}
}

pub struct SerializeVec {
Expand Down

0 comments on commit bb2993f

Please sign in to comment.